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
In my case I have applied the above logic and my ZoneId is loaded successfully. But in my case my ZoneId output should contains the rules (ZoneRules) as well which is part of ZoneOffset (extending abstract class ZoneId). But while implementing the logic it is returning id only as the outcome. Can someone please help in extracting the ZoneOffset variables i.e. Rules.
I really don't think this is SPQR or even GraphQL specific question. The way to add a custom scalar is described in the linked issue. Everything beyond that is custom de/serialization logic. So you're really asking how serialize a ZoneId to a String, and I can't help you with that. I know as much about time zones as the next guy. You'll probably have better luck rephrasing your question and asking on StackOverflow.
For ZoneId I have seen some response on #228
In my case I have applied the above logic and my ZoneId is loaded successfully. But in my case my ZoneId output should contains the rules (ZoneRules) as well which is part of ZoneOffset (extending abstract class ZoneId). But while implementing the logic it is returning id only as the outcome. Can someone please help in extracting the ZoneOffset variables i.e. Rules.
https://docs.oracle.com/javase/8/docs/api/java/time/ZoneId.html
https://docs.oracle.com/javase/8/docs/api/java/time/ZoneOffset.html
https://docs.oracle.com/javase/8/docs/api/java/time/zone/ZoneRules.html
Please suggest.
The text was updated successfully, but these errors were encountered: