Skip to content
#

ash

Here are 71 public repositories matching this topic...

zachdaniel
zachdaniel commented Oct 4, 2021

At the moment, the array type defaults to nil_items?: true, which doesn't really make sense and is probably unexpected behavior. This is technically a breaking change so I want to make sure that people have a chance to discuss it before I make the change.

Essentially, if you have something like

attribute :scores, {:array, :integer}

[1, nil, 2] would be valid by default,

zachdaniel
zachdaniel commented Aug 3, 2021

I've laid the groundwork for relay support, pushed to master now. There are three remaining steps:

  • when fetching :has_many or :many_to_many relationships, we need to wrap them in a connection if the destination action supports pagination
  • when selecting fields, we need to look at the selections inside of the ["edges", "node"] path
  • we need to build the actual connection object. I've

Improve this page

Add a description, image, and links to the ash topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ash topic, visit your repo's landing page and select "manage topics."

Learn more