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: unable to refer numeric environments in GQL variables [INS-3256] #6823

Merged
merged 3 commits into from Nov 22, 2023

Conversation

ihexxa
Copy link
Contributor

@ihexxa ihexxa commented Nov 16, 2023

Changes:

  • persist GQL variables directly, so that we don't need to serialize nunjunks tags.

changelog(Fixes): Fixed an issue where referencing numeric variables in GraphQL queries would not work as expected.

@ihexxa ihexxa self-assigned this Nov 16, 2023
@ihexxa ihexxa marked this pull request as draft November 16, 2023 09:57
@ihexxa ihexxa changed the title fix: wrap graphql vars before persisting [INS-3256] fix: persist GQL variables directly [INS-3256] Nov 16, 2023
@ihexxa
Copy link
Contributor Author

ihexxa commented Nov 17, 2023

@jackkav @gatzjames pls let me know if it makes sense to you then we can push this forward.

@jackkav
Copy link
Contributor

jackkav commented Nov 20, 2023

So it was persisted as an object before and now it's a string. If that's the only change it's cool to go forward. Watch out for small ux changes that came from the json parser like validation ux

@ihexxa ihexxa marked this pull request as ready for review November 21, 2023 07:16
@ihexxa ihexxa changed the title fix: persist GQL variables directly [INS-3256] fix: unable to refer numeric environments in GQL variables [INS-3256] Nov 21, 2023
@ihexxa
Copy link
Contributor Author

ihexxa commented Nov 21, 2023

Good point and yes, this is only the change.

@ihexxa ihexxa merged commit 8d8560f into develop Nov 22, 2023
8 checks passed
@ihexxa ihexxa deleted the fix-vars-store branch November 22, 2023 10:44
jackkav pushed a commit to jackkav/insomnia that referenced this pull request Mar 13, 2024
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.

None yet

2 participants