pragdave
pragdave
AEAsh Elixir
Created by pragdave on 9/26/2023 in #support
Bi-directional JSON/GraphQL interfaces
This isn't a feature request; just a question that will help me resolve an architecture question. Say I have an app with a number of separate services, each running in its own environment. These services need to pass some resources between themselves. Is there a way to define the resource with JSON or GQL is such a way that this resource can proxy between two services: client code on one service can make a request on the resource, which then forwards to the second service, with the answer being returned to the client? Just an idle question...
8 replies
AEAsh Elixir
Created by pragdave on 9/25/2023 in #support
Date, Time, Datetime?
In the API we have * https://ash-hq.org/docs/module/ash/latest/ash-type-date * https://ash-hq.org/docs/module/ash/latest/ash-type-time * https://ash-hq.org/docs/module/ash/latest/ash-type-utcdatetime It looks as if both :date and :time default to UTC/ISO calendar, so I got a little confused by the naming. I wonder: is the fact it's UTC actually part of the type? Or might it make sense just to have :date, :time, and :datetime, and specify that the representation of these is in UTC/ISO, in the same way that :string specifies the type and UTF-8 is the representation?
8 replies