Skip to content

Comments

Fix getKey() return typing to allow composite keys#21

Merged
lmajano merged 1 commit intodevelopmentfrom
jclausen-key-patch
Sep 1, 2017
Merged

Fix getKey() return typing to allow composite keys#21
lmajano merged 1 commit intodevelopmentfrom
jclausen-key-patch

Conversation

@jclausen
Copy link
Contributor

@jclausen jclausen commented Aug 27, 2017

If a composite primary key is in place, getKey() in the BaseORMService will return an array. Changing the typing to account for this.

If a composite primary key is in place, `getKey()` will return an array.  Changing the typing to account for this.
@lmajano
Copy link
Contributor

lmajano commented Aug 27, 2017

Seems the build fails?

@jclausen
Copy link
Contributor Author

Well that's odd. I wouldn't think that test would have anything to do with this PR ( https://github.com/coldbox-modules/cbox-cborm/blob/jclausen-key-patch/tests/specs/ActiveEntityTest.cfc#L188 ). Seems like it's ACF 2016-specific. I'll take a look at it and update the PR.

@lmajano lmajano merged commit d03c63e into development Sep 1, 2017
@lmajano lmajano deleted the jclausen-key-patch branch June 25, 2024 15:40
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.

2 participants