-
-
Notifications
You must be signed in to change notification settings - Fork 744
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
Cannot resolve output-type System.DateTime
#530
Comments
Hi Daniel, There were some changes done for #433 made to address custom extended scalars. Since then, the stock built-in extended scalars must now be explicitly registered during schema configuration if you do not intend to override them: var schema = Schema.Create(c =>
{
// Register all 6 pre-built extended scalar types
c.RegisterExtendedScalarTypes();
}); or var schema = Schema.Create(c =>
{
// Register only pre-built date time type
c.RegisterType<DateTimeType>();
}); |
Perhaps I can add a migration section in the Scalar Type Support documentation to make light of this situation @michaelstaib |
oh good to know. thanks! |
Hey @scottrabara, that is a good point ... but let's create a separate section and put all migration steps there since we have another breaking change with the DataLoader. |
@OneCyrus thanks for reporting this one |
This one is now done .... https://hotchocolate.io/docs/next/migration |
Describe the bug
there looks to be a regression with 0.7.0 (alpha.34) after upgrading from 0.6.11.
To Reproduce
we get the following error
with registering this simple type (
c.RegisterQueryType<TestGraphQuery>()
)Expected behavior
with 0.6.11 we get a Date GraphType
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: