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: pothos prisma dialect #140

Merged
merged 1 commit into from
Feb 7, 2024
Merged

feat: pothos prisma dialect #140

merged 1 commit into from
Feb 7, 2024

Conversation

jaymaycry
Copy link
Contributor

adds support for pothos orderby values which are different than nexus prisma orderby values.

@jaymaycry jaymaycry self-assigned this Feb 7, 2024
} else {
set(selector, field, sort.order === "ASC" ? "asc" : "desc");
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could also use the introspection result to do this automagiclly

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be cool.. but for now.. xD

@macrozone macrozone merged commit 2e0607c into main Feb 7, 2024
1 check passed
@macrozone macrozone deleted the f/pothos-prisma-dialect branch February 7, 2024 16:07
Copy link

github-actions bot commented Feb 7, 2024

🎉 This PR is included in version @ra-data-prisma/dataprovider-v7.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants