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

feat(ecto_adapter): cast maybe dates to date #78

Merged
merged 2 commits into from
Oct 23, 2023
Merged

Conversation

BruceBC
Copy link

@BruceBC BruceBC commented Oct 23, 2023

Handles instances where date may be wrapped in an additional call, such as Ecto.Query.API.max/1.

Example:

from(s in MySchema, select_merge: %{my_date: max(s.my_date)})
|> MyRepo.all()

@BruceBC BruceBC changed the base branch from master to v1.0.0 October 23, 2023 16:34
@BruceBC BruceBC requested a review from PM-Pepsico October 23, 2023 16:39
Handles instances where date may be wrapped in an additional call, such as `Ecto.Query.API.max/1`.

Example:

```
from(s in MySchema, select_merge: %{my_date: max(s.my_date)})
|> MyRepo.all()
```
@BruceBC BruceBC merged commit 621f9cb into v1.0.0 Oct 23, 2023
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