add method to parse field definition from Parser by andimarek · Pull Request #4006 · graphql-java/graphql-java

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@andimarek

Copy link

Member

No description provided.

@andimarek andimarek added this to the 25.x breaking changes milestone

Jun 8, 2025

@github-actions

Copy link

Contributor

github-actions bot commented

Jun 8, 2025

Test Results

  318 files    318 suites   2m 32s ⏱️
4 685 tests 4 676 ✅ 9 💤 0 ❌
4 774 runs  4 765 ✅ 9 💤 0 ❌

Results for commit c4c1b51.

@andimarek andimarek merged commit 8950aa3 into master

Jun 8, 2025

2 checks passed

'foo(a:String!,b:Int!): Foo' | _
'foo(a:String! ="defaultValue",b:Int!): Foo' | _
'foo(a:String!,b:Int!): Foo @directive(someValue:String)' | _
}
Copy link

Member

Choose a reason for hiding this comment

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

What about the failure case - what happens when it fails to parse? Will it throw and exception and if so lets lock that in with a test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@bbakerman bbakerman bbakerman left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

25.x breaking changes

Development

Successfully merging this pull request may close these issues.

2 participants

@andimarek @bbakerman