Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cannot modify model #1

Open
gallun320 opened this issue Dec 24, 2020 · 2 comments
Open

Cannot modify model #1

gallun320 opened this issue Dec 24, 2020 · 2 comments
Assignees

Comments

@gallun320
Copy link

Hi Tomasz,

I have a problem while trying to integrate parser in my project. When I modify StackOnlyJsonField after the first generation my model wasn't re-generation and I couldn't find where files were generated. Could you please help me?

Best regards,
Alex

@TomaszRewak
Copy link
Owner

Hey (and merry Christmas :P),
I don't think the generated files can be easily found in the project structure - they are just compile-time temporary files stored somewhere on the disk outside of the repo. When I try to inspect them in the VS and copy the full path of those files, I can see that for me they are stored in the AppData\Local\Temp\VSGeneratedDocuments.

But nevertheless, the model should be regenerated on each build. So if you make a change to a model, the Intellisense may not pick it up right away, but the changes should be available after you rebuild the project.

If that's not the case, then I wonder - maybe the change caused some exception in the code generator. Though in this case I would expect the generated code not to be available at all - instead of it being stuck with the previous (first) version.

Could you please post some more details? What change did you make to your model?

@TomaszRewak TomaszRewak self-assigned this Dec 25, 2020
@TomaszRewak
Copy link
Owner

@gallun320, were you able to resolve the issue?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants