Skip to content

fix: handling of attribute with array type in middleware for field function#327

Merged
zachdaniel merged 2 commits intoash-project:mainfrom
jichon:bugfix/middleware-attribute-array-type
Jun 9, 2025
Merged

fix: handling of attribute with array type in middleware for field function#327
zachdaniel merged 2 commits intoash-project:mainfrom
jichon:bugfix/middleware-attribute-array-type

Conversation

@jichon
Copy link
Copy Markdown
Contributor

@jichon jichon commented Jun 9, 2025

Contributor checklist

In a simple data layer, a resource with an array-type attribute does not properly set the middleware fields correctly. i.e.,

attribute :results, {:array, UnionType} do
  ....
end
  • Bug fixes include regression tests
  • Chores
  • Documentation changes
  • Features include unit/acceptance tests
  • Refactoring
  • Update dependencies

@zachdaniel zachdaniel merged commit 0c548c3 into ash-project:main Jun 9, 2025
20 checks passed
@zachdaniel
Copy link
Copy Markdown
Contributor

🚀 Thank you for your contribution! 🚀

@jichon jichon deleted the bugfix/middleware-attribute-array-type branch June 9, 2025 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants