Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use map instead of struct #4

Merged
merged 2 commits into from
Oct 12, 2023
Merged

fix: use map instead of struct #4

merged 2 commits into from
Oct 12, 2023

Conversation

cryolynx
Copy link

When selecting from a subquery, Ecto returns the following error: it is not possible to return a struct subset of a subquery in query. Using a map instead of a struct results in a successful query.

@cryolynx cryolynx marked this pull request as ready for review October 12, 2023 11:59
mix.exs Show resolved Hide resolved
@cryolynx cryolynx merged commit 5110763 into main Oct 12, 2023
10 checks passed
@cryolynx cryolynx deleted the use-map-instead-of-struct branch October 12, 2023 16:01
cryolynx pushed a commit that referenced this pull request Oct 12, 2023
An automated release has been created for you.
---


## [1.3.1](v1.3.0...v1.3.1)
(2023-10-12)


### Bug Fixes

* Use map instead of struct
([#4](#4))
([5110763](5110763))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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