Skip to content
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

date typeMap #153

Open
dmitrkov opened this issue Jul 20, 2023 · 1 comment
Open

date typeMap #153

dmitrkov opened this issue Jul 20, 2023 · 1 comment

Comments

@dmitrkov
Copy link

dmitrkov commented Jul 20, 2023

Hello everyone,

Is it possible to change the date mapping as DateTime type? Because when further stitching the scheme with other schemes, time is cut off and only Date remains

https://github.com/graphql-compose/graphql-compose-elasticsearch/blob/master/src/mappingConverter.ts#L49

It means that we must have the DateTime type in the schema
image

@farhadnowzari
Copy link

We have the same issue.

we use HotChocolate and when use Schema stitching the Date type in the gateway means only date and not DateTime. so the time part is cut off on the gateway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants