Skip to content

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

Merged
kodiakhq[bot] merged 1 commit intomainfrom
feature/action-type-support
Jul 29, 2024
Merged

fix: adds parsing of unknown action type for API backwards compatibility#53
kodiakhq[bot] merged 1 commit intomainfrom
feature/action-type-support

Conversation

@philprime
Copy link
Copy Markdown
Member

No description provided.

@github-actions
Copy link
Copy Markdown

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
@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