First of all, congrats on the project! I was thinking about creating a source generator myself when I came across this project. I could not have made a better job really. This is just perfect!
I'm using UseStronglyTypeConverters from the Strongly.EFCore package but my converters are not being registered.
If I set a breakpoint at the line above I can see that it always returns null for my ID structs:
Sorry, I just noticed that I messed up when I moved my code to another project. The Ef converter was not generated because it was missing the [assembly:StronglyTypedIdDefaults].
Hi,
First of all, congrats on the project! I was thinking about creating a source generator myself when I came across this project. I could not have made a better job really. This is just perfect!
I'm using
UseStronglyTypeConverters
from theStrongly.EFCore
package but my converters are not being registered.If I set a breakpoint at the line above I can see that it always returns
null
for my ID structs:https://github.com/lucasteles/Strongly/blob/842a3d49fae66e755b8560753610634a64c51c40/src/Strongly.EFCore/StrongTypedValueConverterSelector.cs#L38
What is that line trying to get exactly?
Here is the struct generated code: