Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix: make sure id isn't present when saving as a new model #3436

Merged
merged 6 commits into from
Apr 25, 2024

Conversation

shawnyama
Copy link
Contributor

@shawnyama shawnyama commented Apr 24, 2024

Description

Models with ids are being passed when creating a new model from the stratify drilldown and even the model edit if you try twice. I made sure to delete the id property before the model is created. I also made some slight clean ups

@shawnyama shawnyama changed the title fix: make sure id isn't present when creating a new model fix: make sure id isn't present when creating a new model Apr 24, 2024
@shawnyama shawnyama changed the title fix: make sure id isn't present when creating a new model fix: make sure id isn't present when saving as a new model Apr 24, 2024
@shawnyama
Copy link
Contributor Author

Let me know if it would be more appropriate to get rid of the id in the backend instead.

@shawnyama shawnyama requested a review from dvince2 April 25, 2024 13:42
@shawnyama shawnyama merged commit f49dd02 into main Apr 25, 2024
5 checks passed
@shawnyama shawnyama deleted the stratify-save-fix branch April 25, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants