Skip to content

Feature - @OrderBy ignore schema fields#11

Merged
felipesabino merged 1 commit intomasterfrom
feature/orderby-ignore-schema
Oct 17, 2017
Merged

Feature - @OrderBy ignore schema fields#11
felipesabino merged 1 commit intomasterfrom
feature/orderby-ignore-schema

Conversation

@felipesabino
Copy link
Copy Markdown

@felipesabino felipesabino commented Oct 16, 2017

Adding ability to ignore schema fields on @OrderBy.

@OrderBy automatically adds all fields from @Pagination type to the generated schema sort enum. This PR adds a new param to enable ignoring them and using just the provided column names instead, adding more control to the generated schema.

Check tests for more info on what is the behavior change

@felipesabino felipesabino force-pushed the feature/orderby-ignore-schema branch from faad2d8 to db5940f Compare October 16, 2017 21:13
@felipesabino felipesabino merged commit eea376e into master Oct 17, 2017
@felipesabino felipesabino deleted the feature/orderby-ignore-schema branch October 17, 2017 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants