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

Use Either instead of ZIO for methods that don't require it #2292

Merged
merged 3 commits into from
Jun 18, 2024

Conversation

kyri-petrou
Copy link
Collaborator

Since we're breaking a lot of things in the next release, we might as well make the public API a bit "leaner" by having methods return Either instead of ZIO that don't require it. I've only changed methods that wouldn't regularly be used by users, like the ones in Parser, Validator and VariableCoercer. I didn't touch ones that are very likely to be used by users like GraphQL#intepreter as we probably don't want to break things that much

@kyri-petrou kyri-petrou merged commit c0ac37c into series/2.x Jun 18, 2024
11 checks passed
@kyri-petrou kyri-petrou deleted the leaner-caliban branch June 18, 2024 11:42
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