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

🐛 Mongoose ReferenceQueryService only accepted Relations with ObjectIds #340

Merged

Conversation

simnado
Copy link
Contributor

@simnado simnado commented Dec 19, 2024

There is a hard limitation in ReferenceQueryService that can only handle Relations/UnpagedRelations when the id fields are of type ObjectId. Since you can make relations with all kinds of field types in mongoose, nestjs-query should also support it.

Copy link

nx-cloud bot commented Dec 23, 2024

View your CI Pipeline Execution ↗ for commit 62a15d2.

Command Status Duration Result
nx run-many --target=lint --all ❌ Failed 8s View ↗
nx run-many --target=e2e --all ✅ Succeeded 2m 39s View ↗
nx run-many --target=test --all ✅ Succeeded 21s View ↗
nx run-many --target=build --all ✅ Succeeded 4s View ↗
nx run workspace:version ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2024-12-23 10:13:00 UTC

@simnado simnado force-pushed the bugfix/mongoose-query-service-accept-any-ids branch from 62a15d2 to b364870 Compare January 2, 2025 10:17
@TriPSs TriPSs merged commit 14175fb into TriPSs:master Jan 13, 2025
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