Closed Rajesh-Thiyagarajan closed 2 years ago
Do you declare LocalDateTime in your sdl schema?
Check my example, https://github.com/hantsy/spring-graphql-sample/blob/master/spring-graphql/src/main/java/com/example/demo/gql/scalars/LocalDateTimeScalar.java
Do you declare LocalDateTime in your sdl schema?
Check my example, https://github.com/hantsy/spring-graphql-sample/blob/master/spring-graphql/src/main/java/com/example/demo/gql/scalars/LocalDateTimeScalar.java
Thanks for your reply @hantsy . I followed for your example all are looks same, but result alone as not expected.
sample schema.graphqls
scalar LocalDateTime
type Query {
templates(input : TemplateFilter): [Template]
template(id: Int!): Template
}
type Template {
id : Int!
name : String!
createdDate : LocalDateTime
attachment : [TemplateAttachments]
}
type TemplateAttachments {
id : Int!
name : String!
}
I see no createdDate in your Entity, there's just createdAt
I see no createdDate in your Entity, there's just createdAt
@benneq Thank you very much, already i spent more days on this. It's fixed.
pom.xml
Response
Runtimewire config
Could you please someone help me on this!!!