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: remove omitempty directive from MonitorV2ActionInput.inline to prevent nondeterministic generation #177

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

obs-gh-abhinavpappu
Copy link
Collaborator

The MonitorV2ActionInput type is used by multiple mutations, only one of which includes the genqlient directive to include omitempty in the generated Go type. This results in the generated type sometimes including omitempty and sometimes not, depending on the order in which the GraphQL files are processed.

…revent nondeterministic generation

The MonitorV2ActionInput type is used by multiple mutations, only one of which includes the genqlient directive to include `omitempty` in the generated Go type. This results in the generated type sometimes including omitempty and sometimes not, depending on the order in which the GraphQL files are processed.
@obs-gh-abhinavpappu obs-gh-abhinavpappu merged commit fce9c23 into master Dec 9, 2024
5 checks passed
@obs-gh-abhinavpappu obs-gh-abhinavpappu deleted the abhi/fix-nondeterministic-generation branch December 9, 2024 18:45
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.

2 participants