Skip to content

Added a getBoolean onto GraphQLContext.java #3578

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

Merged
merged 1 commit into from
Apr 29, 2024
Merged

Conversation

bbakerman
Copy link
Member

This helps make boolean decisions via the graphql context. If Boolean.TRUE.equals(val) then its true

@bbakerman bbakerman added this pull request to the merge queue Apr 29, 2024
Merged via the queue into master with commit 5f1edaf Apr 29, 2024
1 check passed
*
* @return true if the value is equal to {@link Boolean#TRUE}
*/
public Boolean getBoolean(Object key) {
Copy link
Member

Choose a reason for hiding this comment

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

why are we returning Boolean instead of a primitive here?

@dondonz dondonz deleted the getboolean-on-context branch May 14, 2024 22:24
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.

3 participants