balderdashy / waterline-adapter-tests

API integration tests for Waterline adapters
MIT License
16 stars 41 forks source link

added tests for "compositePrimaryKey" feature #91

Closed tjwebb closed 9 years ago

tjwebb commented 9 years ago

Tests the ability for an adapter to define a composite primary key on a table.

Example usage here: https://github.com/tjwebb/waterline-adapter-tests/blob/feature-compositePrimaryKey/features/compositePrimaryKey/support/fixture.js#L12-L20

dmarcelino commented 9 years ago

The CompositeUnique are also in this PR, does this change depend on PR #90?

Another question: would a collection would composite primary keys support associations?

tjwebb commented 9 years ago

@dmarcelino sorry, I branched this off of #90.

Another question: would a collection would composite primary keys support associations?

Not currently. I'll create a separate feature for that and test it separately.