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

Feature/observable-sorting-paging #45

Merged
merged 11 commits into from
Jul 22, 2024
Merged

Conversation

einari
Copy link
Contributor

@einari einari commented Jul 22, 2024

Added

  • Support for paging and sorting as a frontend concern for observable queries. This includes all the way from the proxy generators and down into the backend implementation for MongoDB.
  • Added visibility of query parameters related to sorting and paging, seeing that they're automatically handled as a separate concern.
  • Adding error codes to Swagger definitions for Commands and Queries.

Changed

  • MongoCollectionExtensions convenience methods for observing mongo collections are now returning ISubject<> instead of Task<ISubject<>>. The reason for this is that ISubject<> as a construct can be created synchronously and we now instead run the actual query and the Mongo Watch in a separate task that calls OnNext() on the subject.
  • Swagger schema filter added that will now show enums as string names, rather than integer values. The JSON serializer should support deserializing enums as strings.

Fixed

  • Migrated from Moq to NSubstitute

@einari einari added the major label Jul 22, 2024
@einari einari merged commit 78ce617 into main Jul 22, 2024
5 checks passed
@einari einari deleted the feature/observable-sorting-paging branch July 22, 2024 18:10
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.

1 participant