-
-
Notifications
You must be signed in to change notification settings - Fork 756
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed clr type binding for issue with new type discovery. (#1304)
- Loading branch information
1 parent
1252157
commit 3d8fa25
Showing
4 changed files
with
76 additions
and
1 deletion.
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
18 changes: 18 additions & 0 deletions
18
src/Core/Types.Tests/__snapshots__/CodeFirstTests.Change_DefaultBinding_For_DateTime.snap
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
schema { | ||
query: QueryWithDateTime | ||
} | ||
|
||
type ModelWithDateTime { | ||
bar: DateTime! | ||
foo: Date | ||
} | ||
|
||
type QueryWithDateTime { | ||
model: ModelWithDateTime | ||
} | ||
|
||
"The `Date` scalar represents an ISO-8601 compliant date type." | ||
scalar Date | ||
|
||
"The `DateTime` scalar represents an ISO-8601 compliant date time type." | ||
scalar DateTime |
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