Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ash.Unions don't render correctly #71

Open
joshprice opened this issue Aug 21, 2023 · 1 comment
Open

Ash.Unions don't render correctly #71

joshprice opened this issue Aug 21, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@joshprice
Copy link
Contributor

Describe the bug

An embedded resource with a field defined as an Array of Unions renders like this in Ash Admin:

Screen Shot 2023-08-21 at 6 11 48 pm

To Reproduce

Setup a resource with a field that is an array of Union types.

Expected behavior

Another field containing list of non-union embedded types renders fine.

Presumably it's possible to have this render in some sensible default way despite the fact that each item could be different?

Runtime

  • Elixir 1.14.4
  • Erlang 25.3.2
  • OS mac
  • Ash main
  • Ash Admin main
@joshprice joshprice added the bug Something isn't working label Aug 21, 2023
@zachdaniel
Copy link
Contributor

Yep! We can do this, just hasn't been implemented yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants