Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

refactor: Changes pagination and sorting constants to improve readability. #8

Merged
merged 1 commit into from
Mar 18, 2018

Conversation

ryasmi
Copy link
Member

@ryasmi ryasmi commented Mar 18, 2018

BREAKING CHANGE: In pagination forward was renamed to direction.
BREAKING CHANGE: To paginate forward use 'forward' in pagination.direction instead of true in pagination.forward. Use import { forward } from '@js-entity-repos/core/dist/types/PaginationDirection'.
BREAKING CHANGE: To paginate backward use 'backward' in pagination.direction instead of false in pagination.forward. Use import { backward } from '@js-entity-repos/core/dist/types/PaginationDirection'.
BREAKING CHANGE: To sort in ascending order use 'asc' in sort instead of true. Use import { asc } from '@js-entity-repos/core/dist/types/SortOrder'.
BREAKING CHANGE: To sort in descending order use 'desc' in sort instead of false. Use import { desc } from '@js-entity-repos/core/dist/types/SortOrder'.

@ryasmi ryasmi self-assigned this Mar 18, 2018
@ryasmi ryasmi merged commit 561d0b9 into master Mar 18, 2018
@ryasmi ryasmi deleted the constants branch March 18, 2018 22:10
@HT2Bot
Copy link
Member

HT2Bot commented Mar 18, 2018

🎉 This PR is included in version 7.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants