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

Take into account the idColumn for objection models when creating the adapter #40

Conversation

csotiriou
Copy link

This small patch takes into account the 'idColumn' of an objection model.

This allows making updates and .get() requests in the service while having a key other than the default one, or a composite key.

Objection documentation for idColumn: http://vincit.github.io/objection.js/#idcolumn

@coveralls
Copy link

coveralls commented Feb 10, 2019

Pull Request Test Coverage Report for Build 274

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 96.449%

Totals Coverage Status
Change from base Build 272: -0.2%
Covered Lines: 282
Relevant Lines: 285

💛 - Coveralls

@dekelev
Copy link
Member

dekelev commented Feb 15, 2019

@dekelev dekelev closed this Feb 15, 2019
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.

None yet

3 participants