Skip to content

Conversation

@greg-rychlewski
Copy link
Member

Companion to elixir-ecto/ecto#3998

Adds some test for fragment sources and creates nicer error messages when users try to select a fragment without specifying the fields.

@greg-rychlewski
Copy link
Member Author

@josevalim Sorry I forgot about this one. It's so the adapters raise when a fragment is used as a source without specifying select. It's similar to the behaviour for sources without schemas.

@greg-rychlewski greg-rychlewski merged commit 9c9efe9 into elixir-ecto:master Sep 13, 2022
@greg-rychlewski greg-rychlewski deleted the fragment_source branch February 7, 2023 01:37
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