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

Upgrade cynic to v3 #1743

Merged
merged 2 commits into from
Nov 27, 2023
Merged

Upgrade cynic to v3 #1743

merged 2 commits into from
Nov 27, 2023

Conversation

obmarg
Copy link
Contributor

@obmarg obmarg commented Nov 5, 2023

I released v3 of cynic a while back, this pulls that release into triagebot.

The main changes that'll have an impact here are:

  1. I've added the ability to pre parse schems in build.rs which is now in use here. This makes a big difference to the compile time of crates using large schemas (such as the GitHub schema triagebot uses).
  2. The schema_for_derives attribute macro is no longer required so I've got rid of that.
  3. Query variables can now be references so I've made that change in the places where it made sense.

I released v3 of cynic a while back, figured I might as well contribute
an upgrade in triagebot.

The main changes that'll have an impact here are:

1. I've added the ability to pre parse schems in `build.rs`, which is
   now in use here.  This makes a big difference to the compile time
   of crates using large schemas (such as the GitHub schema triagebot
   uses).
2. The `schema_for_derives` attribute macro is no longer required so
   I've got rid of that.
3. Query variables can now be references so I've made that change in the
   places where it made sense.
github-graphql/Cargo.toml Outdated Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
github-graphql/Cargo.toml Outdated Show resolved Hide resolved
Copy link
Contributor

@ehuss ehuss left a comment

Choose a reason for hiding this comment

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

Thanks! I'm going to merge, though I have not tested this, I assume if it compiles it should be good.

@ehuss ehuss merged commit eda12a7 into rust-lang:master Nov 27, 2023
2 checks passed
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