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 | PublicContactend
relationships do has_one :address, PrivateContact | PublicContactend
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.