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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renamed complete key to named key and add documentation #182

Merged
merged 1 commit into from
Oct 4, 2016
Merged

Renamed complete key to named key and add documentation #182

merged 1 commit into from
Oct 4, 2016

Conversation

jdpedrie
Copy link
Contributor

@jdpedrie jdpedrie commented Oct 3, 2016

If you're using Key::STATE_COMPLETE, you should update to Key::STATE_NAMED. The former constant still exists for now, but it may be removed in the future.

If you're checking the underlying constant value (i.e. $key->state() === 'complete'), this is a BC break. 馃槩

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 3, 2016
@dwsupplee dwsupplee merged commit f7c3831 into googleapis:master Oct 4, 2016
@jdpedrie jdpedrie deleted the datastore-key-type branch October 4, 2016 16:09
@jdpedrie jdpedrie mentioned this pull request Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants