You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which is great for testing compiled code, but in my use case I have some .json files I want to base the generated code on.
I am using the procedure described in the cookbook.
I managed to modify the testutil class (gist) and it seems to work
I mostly wish to know if there is a better way to do this, my modification feels dodgy and I am no expert on source generators
The text was updated successfully, but these errors were encountered:
I have read your awesome article on testing incremental generators:
https://andrewlock.net/creating-a-source-generator-part-2-testing-an-incremental-generator-with-snapshot-testing/
Which is great for testing compiled code, but in my use case I have some .json files I want to base the generated code on.
I am using the procedure described in the cookbook.
I managed to modify the testutil class (gist) and it seems to work
I mostly wish to know if there is a better way to do this, my modification feels dodgy and I am no expert on source generators
The text was updated successfully, but these errors were encountered: