Skip to content

Conversation

@dondonz
Copy link
Member

@dondonz dondonz commented Oct 2, 2022

Fixing up deprecated API usages in programmatic test schemas, fix last few remaining Java deprecated method overrides

This is the last deprecation fix PR for tests. Next PR will fix deprecated usages in documentation examples

*
* @return a non null instrumented ExecutionContext, the default is to return to the same object
*
* @deprecated use {@link #instrumentExecutionContext(ExecutionContext, InstrumentationExecutionParameters)} instead
Copy link
Member Author

Choose a reason for hiding this comment

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

Was pointing to the deprecated method signature

@dondonz dondonz added this to the 20.0 milestone Oct 2, 2022
@dondonz dondonz added the not release related changes which are not released (for example unit tests or docs) label Oct 2, 2022
.name("floatNaN")
.type(Scalars.GraphQLFloat)
.staticValue(Double.NaN))
.staticValue(Double.NaN)) // Retain for test coverage
Copy link
Member

Choose a reason for hiding this comment

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

Isn't this one of the values we decided was not valid.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch, I'll include this in the NaN test tidy up. I can't see any test using this field at the moment

@dondonz dondonz merged commit b74c564 into master Oct 5, 2022
@dondonz dondonz deleted the deprecation-drive-programmatic-schema branch October 5, 2022 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

not release related changes which are not released (for example unit tests or docs)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants