graphql-compose-elasticsearch icon indicating copy to clipboard operation
graphql-compose-elasticsearch copied to clipboard

date typeMap

Open dmitrkov opened this issue 1 year ago • 1 comments

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

dmitrkov avatar Jul 20 '23 12:07 dmitrkov

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.

farhadnowzari avatar Jul 20 '23 12:07 farhadnowzari