Skip to content

Fix Ash.TypedStruct & Ash.Type.Struct inconsistencies.#2232

Closed
Torkan wants to merge 2 commits intoash-project:mainfrom
Torkan:main
Closed

Fix Ash.TypedStruct & Ash.Type.Struct inconsistencies.#2232
Torkan wants to merge 2 commits intoash-project:mainfrom
Torkan:main

Conversation

@Torkan
Copy link
Copy Markdown
Contributor

@Torkan Torkan commented Jul 27, 2025

Update Ash.Type.NewType validation, set description to be either :string or nil for both Ash.TypedStruct & Ash.Type.Struct.

Contributor checklist

Leave anything that you believe does not apply unchecked.

  • I accept the AI Policy, or AI was not used in the creation of this PR.
  • Bug fixes include regression tests
  • Chores
  • Documentation changes
  • Features include unit/acceptance tests
  • Refactoring
  • Update dependencies

@Torkan
Copy link
Copy Markdown
Contributor Author

Torkan commented Jul 27, 2025

Repro demonstrating the current compile error(s):
https://github.com/Torkan/typed-struct-repro

@zachdaniel
Copy link
Copy Markdown
Contributor

Fixed it a slightly different way. Mind verifying?

2f6382b

@zachdaniel zachdaniel closed this Jul 27, 2025
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