Suppose I signed an agreement during employment that everything developed during my term of employment will be owned by the employer (or something alone those lines...)
Say before employment, I developed an awesome software library for personal use.
Is there any risk (say of losing ownership of this library) of using this software library in the company's product?
What if said software library was developed during employment but in my leisure?