You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java project with graphql , i upgrade spring version and spring boot version,
but i can not query map object with joda interval, use JsonTypeConverter with fasterxml jackson and register module
(new JodaModule());
but when query throw exception
Cannot deserialize value of type org.joda.time.Interval from Object value (token JsonToken.START_OBJECT),
how can i solved it?
The text was updated successfully, but these errors were encountered:
Sounds like a Spring problem: please use Spring forums for asking help.
Otherwise, we would need a stand-alone (no external dependencies) reproduction of the problem, showing exactly what is being done: description is not sufficient for this.
cowtowncoder
changed the title
Cannot deserialize value of type org.joda.time.Interval from Object value (token JsonToken.START_OBJECT)
Cannot deserialize value of type org.joda.time.Interval from Object value (token JsonToken.START_OBJECT) with Spring/GraphQL framework
Jul 11, 2023
plugins {
id 'org.springframework.boot' version '2.7.5'
}
ext['spring-framework.version'] = '5.3.23'
implementation(platform("com.netflix.graphql.dgs:graphql-dgs-platform-dependencies:5.5.1")){exclude module: 'com.graphql-java'}
implementation group: 'com.graphql-java', name: 'graphql-java', version: '19.2'
implementation('joda-time:joda-time:2.10.3')
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-joda:2.13.4'
java project with graphql , i upgrade spring version and spring boot version,
but i can not query map object with joda interval, use JsonTypeConverter with fasterxml jackson and register module
(new JodaModule());
but when query throw exception
Cannot deserialize value of type
org.joda.time.Interval
from Object value (tokenJsonToken.START_OBJECT
),how can i solved it?
The text was updated successfully, but these errors were encountered: