Skip to content

Conversation

@hansololai
Copy link
Contributor

The current makeAddPgTableOrderByPlugin provie a utilility function orderByAscDesc. The current typescript only allows either a string or a SQL element to be passed in, but the code actually handles the case (and it is also in the doc) to pass in a function {queryBuilder} => SQL. This PR updates that typescript definition of the function and also the orderbySpec.

benjie and others added 23 commits December 4, 2019 11:41
* feat(omit) take "many" on constraints into account

Closes #505.

* move `@omit many` constraint condition to "many" relations only

and simplify the conditions a bit, outdenting `makeField` by one level

Co-authored-by: Benjie Gillam <[email protected]>
BREAKING CHANGE: New minimum Node version is Node v10.18.0
@hansololai hansololai changed the title Type update on addPgTableOrderByPlugin feat(graphile-utils): Type update on addPgTableOrderByPlugin Jul 3, 2020
@hansololai
Copy link
Contributor Author

Interestingly when I run yarn lint:fix, it also fixed a bunch of README.md file's js syntax. for the purpose of this PR, I did not commit those.

@benjie
Copy link
Member

benjie commented Jul 15, 2020

Maybe you have prettier installed globally and it's using that rather than ours? 🤷

@benjie benjie changed the base branch from master to v4 July 15, 2020 16:27
@benjie benjie changed the base branch from v4 to v5 July 15, 2020 16:28
@benjie benjie changed the base branch from v5 to v4 July 15, 2020 16:28
@benjie
Copy link
Member

benjie commented Jul 15, 2020

Please could you rebase this on the v4 (default) branch? master is not used any more. That might explain your formatting woes too.

@hansololai
Copy link
Contributor Author

The rebasing got a lot of conflicts, I didn't want to mess up other stuff so I made another PR from v4 to v4. #629

@hansololai hansololai closed this Jul 15, 2020
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.

5 participants