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

Model.ObjectDescription.keyPrefix should be optional string #36

Closed
mike4aday opened this issue Apr 25, 2017 · 1 comment
Closed

Model.ObjectDescription.keyPrefix should be optional string #36

mike4aday opened this issue Apr 25, 2017 · 1 comment
Assignees
Labels

Comments

@mike4aday
Copy link
Owner

Should be: public var keyPrefix: String?

"keyPrefix" could be null in the 'backing' JSON dictionary.

@mike4aday mike4aday added the bug label Apr 25, 2017
@mike4aday mike4aday self-assigned this Apr 25, 2017
@mike4aday
Copy link
Owner Author

Fixed in Swiftly Salesforce version 3.5.0. keyPrefix now returns an empty string if the retrieved JSON value is null. In the next major release of Swiftly Salesforce, keyPrefix will become an optional String.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant