Specify nullness for some `graphql.schema.idl` classes by mk868 · Pull Request #3895 · graphql-java/graphql-java · GitHub
Skip to content

Specify nullness for some graphql.schema.idl classes#3895

Merged
dondonz merged 3 commits intographql-java:masterfrom
mk868:jspecify-idl
May 11, 2025
Merged

Specify nullness for some graphql.schema.idl classes#3895
dondonz merged 3 commits intographql-java:masterfrom
mk868:jspecify-idl

Conversation

@mk868
Copy link
Copy Markdown
Contributor

@mk868 mk868 commented Apr 5, 2025

Related #3878

I applied @NullMarked on the classes:

  • graphql.Assert
  • graphql.schema.idl.FieldWiringEnvironment
  • graphql.schema.idl.InterfaceWiringEnvironment
  • graphql.schema.idl.ScalarInfo
  • graphql.schema.idl.ScalarWiringEnvironment
  • graphql.schema.idl.SchemaParser
  • graphql.schema.idl.TypeDefinitionRegistry
  • graphql.schema.idl.UnionWiringEnvironment
  • graphql.schema.idl.WiringEnvironment

Copy link
Copy Markdown
Member

@bbakerman bbakerman left a comment

Choose a reason for hiding this comment

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

Lets decide on the Assert nullness question and then move forward

Comment thread src/main/java/graphql/Assert.java Outdated
@bbakerman
Copy link
Copy Markdown
Member

Comment thread src/main/java/graphql/schema/idl/TypeDefinitionRegistry.java
@dondonz
Copy link
Copy Markdown
Member

dondonz commented Apr 12, 2025

Thanks for the pull request! I like your choice with Assert as well

Copy link
Copy Markdown
Member

@dondonz dondonz left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! We are on Easter break, will come back to your PR after the holidays

@dondonz
Copy link
Copy Markdown
Member

dondonz commented May 11, 2025

@bbakerman as discussed, the changes you suggested were implemented so merging in

@dondonz dondonz merged commit 7d9516a into graphql-java:master May 11, 2025
1 check passed
@bclozel
Copy link
Copy Markdown

bclozel commented May 13, 2025

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.

4 participants