Skip to content

Conversation

@bkilshaw
Copy link
Contributor

Currently has_one and has_many both validate against the same @valid_has_options allowing you to pass a preload_order option into has_one despite it not being supported.

There is a PR (#4505) that's been open for over a year with some discussion around has_one supporting preload_order but it would probably be good to clean this up in the meantime.

@greg-rychlewski greg-rychlewski merged commit 6b61f9a into elixir-ecto:master Nov 20, 2025
7 checks passed
@greg-rychlewski
Copy link
Member

Thanks :)

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