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

Derive some common traits #59

Merged
merged 1 commit into from
Jan 9, 2023
Merged

Conversation

goto-bus-stop
Copy link
Contributor

Derive common traits on some of the simple structs in the crate. I have a use case where I need Source instances to be comparable (for use in a salsa-based project), and this should do the trick.

(I havent applied the traits to other useful things like Report which require more complicated bounds. I could do it if you'd prefer that)

@zesterer
Copy link
Owner

zesterer commented Jan 9, 2023

Thanks!

@zesterer zesterer merged commit b9fc9ee into zesterer:main Jan 9, 2023
@goto-bus-stop goto-bus-stop deleted the derives branch January 10, 2023 07:27
@goto-bus-stop
Copy link
Contributor Author

@zesterer thanks for the merge! 😊 do you think ariadne is ready for a new release soon? we would like to use this in apollographql/apollo-rs#414. if you would rather get more changes in before releasing i would be happy to help if possible.

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