n0gg1n
n0gg1n
AEAsh Elixir
Created by n0gg1n on 2/11/2023 in #support
Create has_one relationship with flexible resource type
is there a "best practice" for creating a has_one relationship with a flexible resource type? E.g. if I have the resources PrivateContact and PublicContact Is something like the following possible? relationships do has_one :address, PrivateContact | PublicContact end
5 replies
AEAsh Elixir
Created by n0gg1n on 2/7/2023 in #support
Is it possible to auto generate an Ash Resource from a JSON Schema?
Hi, I took a deep dive into the FHIR specification and I thought this is a great fit for the Ash Framework. The core specification consists of > 100 resources and it's a little bit laborious to handcode everything. Is there a way to parse a JSON Schema and automatically create the Ash resources?
3 replies