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

fix: adds parsing of unknown action type for API backwards compatibility #53

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

philprime
Copy link
Contributor

No description provided.

Copy link

Warnings
⚠️ The library files were changed, but the tests remained unmodified. Consider updating or adding to the tests to match the library changes.

Generated by 🚫 Danger Swift against f1246d3

@kodiakhq kodiakhq bot merged commit 75e08f0 into main Jul 29, 2024
6 checks passed
@kodiakhq kodiakhq bot deleted the feature/action-type-support branch July 29, 2024 20:37
kodiakhq bot pushed a commit to kula-app/OnLaunch that referenced this pull request Jul 29, 2024
This pull request introduces the messages endpoint v0.2 which will replace the current v0.1 used by client libraries.

The main necessity of this pull request is caused due to a DTO decoding issue in https://github.com/kula-app/OnLaunch-iOS-Client, where I forgot to implement backwards compatibility when parsing the `ActionType`.

The issue in the client will be fixed with kula-app/OnLaunch-iOS-Client#53 but due to apps shipped with the latest release of the iOS client, we are bumping the API endpoint version too, and filter out any newly introduced action types.

This will also require updates to the Android and Flutter clients, but as new action types require changes in the clients anyways, there won't be an issue until then.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant