-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove attributes from Argument annotation
Prior to this commit, the `@Argument` annotation would support two attributes: `required` and `defaultValue`, specifying whether arguments should be considered as required and default values to use if they're not present. This can be problematic as this can already be specified at the schema level. To avoid duplication and invalid setups betweens schema and Controllers, this commit removes those attributes in favor of the schema definition. Closes gh-150
- Loading branch information
Showing
5 changed files
with
9 additions
and
63 deletions.
There are no files selected for viewing
2 changes: 0 additions & 2 deletions
2
samples/webmvc-http/src/main/resources/application.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
management.endpoints.web.exposure.include=health,metrics,info | ||
|
||
spring.graphql.schema.printer.enabled=true | ||
|
||
spring.graph |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters