Skip to content

fix java long max value and run failed #31

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
Jul 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/documentation/master/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ Extended graphql-java scalars
* ``GraphQLBigDecimal``
* ``GraphQLBigInteger``

Note that the semantics around the extended scalars might not be understood by your clients. For example mapping a Java Long (max value 26^3-1) into a JavaScript Number ( max value 2^53 - 1)
Note that the semantics around the extended scalars might not be understood by your clients. For example mapping a Java Long (max value 2^63-1) into a JavaScript Number ( max value 2^53 - 1)
may be problematic for you.


Expand Down
8 changes: 4 additions & 4 deletions content/documentation/master/sdl-directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,10 @@ Then our runtime code could be :

static GraphQLSchema buildSchema() {

String sdlSpec = "" +
"type Query {\n" +
" dateField : String @dateFormat \n" +
"}";
String sdlSpec = "directive @dateFormat on FIELD_DEFINITION\n" +
"type Query {\n" +
" dateField : String @dateFormat \n" +
"}";

TypeDefinitionRegistry registry = new SchemaParser().parse(sdlSpec);

Expand Down
8 changes: 4 additions & 4 deletions content/documentation/v10/sdl-directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,10 @@ Then our runtime code could be :

static GraphQLSchema buildSchema() {

String sdlSpec = "" +
"type Query {\n" +
" dateField : String @dateFormat \n" +
"}";
String sdlSpec = "directive @dateFormat on FIELD_DEFINITION\n" +
"type Query {\n" +
" dateField : String @dateFormat \n" +
"}";

TypeDefinitionRegistry registry = new SchemaParser().parse(sdlSpec);

Expand Down
8 changes: 4 additions & 4 deletions content/documentation/v11/sdl-directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,10 @@ Then our runtime code could be :

static GraphQLSchema buildSchema() {

String sdlSpec = "" +
"type Query {\n" +
" dateField : String @dateFormat \n" +
"}";
String sdlSpec = "directive @dateFormat on FIELD_DEFINITION\n" +
"type Query {\n" +
" dateField : String @dateFormat \n" +
"}";

TypeDefinitionRegistry registry = new SchemaParser().parse(sdlSpec);

Expand Down
2 changes: 1 addition & 1 deletion content/documentation/v12/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ Extended graphql-java scalars
* ``GraphQLBigDecimal``
* ``GraphQLBigInteger``

Note that the semantics around the extended scalars might not be understood by your clients. For example mapping a Java Long (max value 26^3-1) into a JavaScript Number ( max value 2^53 - 1)
Note that the semantics around the extended scalars might not be understood by your clients. For example mapping a Java Long (max value 2^63-1) into a JavaScript Number ( max value 2^53 - 1)
may be problematic for you.


Expand Down
8 changes: 4 additions & 4 deletions content/documentation/v12/sdl-directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,10 @@ Then our runtime code could be :

static GraphQLSchema buildSchema() {

String sdlSpec = "" +
"type Query {\n" +
" dateField : String @dateFormat \n" +
"}";
String sdlSpec = "directive @dateFormat on FIELD_DEFINITION\n" +
"type Query {\n" +
" dateField : String @dateFormat \n" +
"}";

TypeDefinitionRegistry registry = new SchemaParser().parse(sdlSpec);

Expand Down
2 changes: 1 addition & 1 deletion content/documentation/v13/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ Extended graphql-java scalars
* ``GraphQLBigDecimal``
* ``GraphQLBigInteger``

Note that the semantics around the extended scalars might not be understood by your clients. For example mapping a Java Long (max value 26^3-1) into a JavaScript Number ( max value 2^53 - 1)
Note that the semantics around the extended scalars might not be understood by your clients. For example mapping a Java Long (max value 2^63-1) into a JavaScript Number ( max value 2^53 - 1)
may be problematic for you.


Expand Down
8 changes: 4 additions & 4 deletions content/documentation/v13/sdl-directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,10 @@ Then our runtime code could be :

static GraphQLSchema buildSchema() {

String sdlSpec = "" +
"type Query {\n" +
" dateField : String @dateFormat \n" +
"}";
String sdlSpec = "directive @dateFormat on FIELD_DEFINITION\n" +
"type Query {\n" +
" dateField : String @dateFormat \n" +
"}";

TypeDefinitionRegistry registry = new SchemaParser().parse(sdlSpec);

Expand Down
2 changes: 1 addition & 1 deletion content/documentation/v14/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ Extended graphql-java scalars
* ``GraphQLBigDecimal``
* ``GraphQLBigInteger``

Note that the semantics around the extended scalars might not be understood by your clients. For example mapping a Java Long (max value 26^3-1) into a JavaScript Number ( max value 2^53 - 1)
Note that the semantics around the extended scalars might not be understood by your clients. For example mapping a Java Long (max value 2^63-1) into a JavaScript Number ( max value 2^53 - 1)
may be problematic for you.


Expand Down
8 changes: 4 additions & 4 deletions content/documentation/v14/sdl-directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,10 @@ Then our runtime code could be :

static GraphQLSchema buildSchema() {

String sdlSpec = "" +
"type Query {\n" +
" dateField : String @dateFormat \n" +
"}";
String sdlSpec = "directive @dateFormat on FIELD_DEFINITION\n" +
"type Query {\n" +
" dateField : String @dateFormat \n" +
"}";

TypeDefinitionRegistry registry = new SchemaParser().parse(sdlSpec);

Expand Down
8 changes: 4 additions & 4 deletions content/documentation/v9/sdl-directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,10 @@ Then our runtime code could be :

static GraphQLSchema buildSchema() {

String sdlSpec = "" +
"type Query {\n" +
" dateField : String @dateFormat \n" +
"}";
String sdlSpec = "directive @dateFormat on FIELD_DEFINITION\n" +
"type Query {\n" +
" dateField : String @dateFormat \n" +
"}";

TypeDefinitionRegistry registry = new SchemaParser().parse(sdlSpec);

Expand Down