-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa6d497
commit b7c47fc
Showing
16 changed files
with
134 additions
and
266 deletions.
There are no files selected for viewing
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 was deleted.
Oops, something went wrong.
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
17 changes: 9 additions & 8 deletions
17
example/client/apollo-demo/src/__generated/EnumInputMetadata.ts
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,10 +1,11 @@ | ||
import { EnumInputMetadataBuilder } from 'graphql-ts-client-api'; | ||
|
||
export const ENUM_INPUT_METADATA = | ||
new EnumInputMetadataBuilder() | ||
.add("Gender") | ||
.add("EmployeeInput", [ | ||
{name: "gender", typeName: "Gender"} | ||
]) | ||
.build() | ||
; | ||
const builder = new EnumInputMetadataBuilder(); | ||
|
||
builder.add("Gender"); | ||
|
||
builder.add("EmployeeInput", [ | ||
{name: "gender", typeName: "Gender"} | ||
]); | ||
|
||
export const ENUM_INPUT_METADATA = builder.build(); |
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
17 changes: 9 additions & 8 deletions
17
example/client/async-demo/src/__generated/EnumInputMetadata.ts
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,10 +1,11 @@ | ||
import { EnumInputMetadataBuilder } from 'graphql-ts-client-api'; | ||
|
||
export const ENUM_INPUT_METADATA = | ||
new EnumInputMetadataBuilder() | ||
.add("Gender") | ||
.add("EmployeeInput", [ | ||
{name: "gender", typeName: "Gender"} | ||
]) | ||
.build() | ||
; | ||
const builder = new EnumInputMetadataBuilder(); | ||
|
||
builder.add("Gender"); | ||
|
||
builder.add("EmployeeInput", [ | ||
{name: "gender", typeName: "Gender"} | ||
]); | ||
|
||
export const ENUM_INPUT_METADATA = builder.build(); |
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
Oops, something went wrong.