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

qe: fix prisma/13097 #3186

Merged
merged 1 commit into from Sep 15, 2022
Merged

qe: fix prisma/13097 #3186

merged 1 commit into from Sep 15, 2022

Conversation

tomhoule
Copy link
Contributor

@tomhoule tomhoule commented Sep 13, 2022

This appears to be a simple business logic error.

In this PR, we test that array field returned from groupBy queries are
properly retrieved from their rows, both when selected and when
aggregated.

closes prisma/prisma#13097

Internal spec document: https://www.notion.so/prismaio/groupBy-array-columns-a1179e49a56c42c8b1f1bd69f617f26a

This appears to be a simple business logic error.

In this PR, we test that array field returned from groupBy queries are
properly retrieved from their rows, both when selected and when
aggregated.

closes prisma/prisma#13097

Internal spec document: https://www.notion.so/prismaio/groupBy-array-columns-a1179e49a56c42c8b1f1bd69f617f26a
@tomhoule tomhoule changed the title wip - prisma 13097 qe: fix prisma/13097 Sep 14, 2022
@tomhoule tomhoule marked this pull request as ready for review September 14, 2022 12:54
@millsp
Copy link
Member

millsp commented Sep 14, 2022

Added the test at prisma/prisma#15217

@tomhoule tomhoule merged commit dc7a162 into main Sep 15, 2022
@tomhoule tomhoule deleted the qe/prisma-13097 branch September 15, 2022 07:30
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.

groupBy crashes when using enums
3 participants