Skip to content

Bump graphql_client & shopify_function crates #248

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

Merged
merged 2 commits into from
May 30, 2023
Merged

Conversation

jbourassa
Copy link
Contributor

Bump the crates to incorporate recent changes:

  • Searched for shopify_function and graphql_client and bumped the version number everywhere
  • Ran cargo test in the repo's root and fixed all the compilation errors.

@jbourassa jbourassa requested a review from andrewhassan May 30, 2023 16:43
let expected = crate::output::FunctionResult {
operations: vec![crate::output::Operation {
hide: None,
move_: None,
rename: None,
}],
};
let expected = crate::output::FunctionResult { operations: vec![] };
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a slight behaviour change but the new ones makes more sense. No operations is represented by returning an empty array, not returning an empty operation (that's actually invalid as per oneOf's current spec version).

Copy link
Contributor

@andrewhassan andrewhassan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Cleaned and built successfully
  • Ran tests successfully
  • 🎩 on cart checkout validation function

@jbourassa jbourassa merged commit 7cf29e8 into main May 30, 2023
@jbourassa jbourassa deleted the jb/bump-rust-crates branch May 30, 2023 19:57
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