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

fix: resolve FindOptionsOrder.nulls to allow FIRST/LAST in uppercase #8978

Conversation

ahmedosama94
Copy link
Contributor

@ahmedosama94 ahmedosama94 commented May 9, 2022

Closes #8970

Description of change

Resolved a minor issue where uppercased "FIRST" option for FindOptionsOrder.nulls was being ignored. Similarly for "LAST"

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • npm run format to apply prettier formatting
  • npm run test passes with this change
  • This pull request links relevant issues as Fixes #0000
  • There are new or updated unit tests validating the change
  • Documentation has been updated to reflect this change
  • The new commits follow conventions explained in CONTRIBUTING.md

@ahmedosama94 ahmedosama94 changed the title fix: resolve FindOptionsOrder.nulls issue to accept FIRST/LAST in uppercase fix: resolve FindOptionsOrder.nulls to allow FIRST/LAST in uppercase May 9, 2022
@ahmedosama94 ahmedosama94 force-pushed the 8970-find-options-order-nulls-first-and-last branch from 7c56c46 to eebc0bf Compare May 9, 2022 09:18
@ahmedosama94 ahmedosama94 force-pushed the 8970-find-options-order-nulls-first-and-last branch from eebc0bf to 19cb8b3 Compare May 9, 2022 09:20
@pleerock
Copy link
Member

tests are failing...

@ahmedosama94
Copy link
Contributor Author

@pleerock I'm aware, I did not get the chance to get back this yet unfortunately. But I will get to it.

@AlexMesser AlexMesser merged commit 5e5abbd into typeorm:master Aug 25, 2022
@AlexMesser
Copy link
Collaborator

thank you for contribution!

nordinh pushed a commit to nordinh/typeorm that referenced this pull request Aug 29, 2022
…ypeorm#8978)

* fix: resolve FindOptionsOrder.nulls issue to accept FIRST/LAST in uppercase

Closes typeorm#8970

* fixed failing test

Co-authored-by: Alex Messer <dmzt08@gmail.com>
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.

Repository find uppercase version of ordering by nulls doesn't work
3 participants