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

Make NVP codec isomorphic #143

Merged
merged 3 commits into from
Jun 18, 2024
Merged

Make NVP codec isomorphic #143

merged 3 commits into from
Jun 18, 2024

Conversation

peel
Copy link
Contributor

@peel peel commented Jun 18, 2024

NVP (Name-Value-Pair) codec in snowplow-badrows type casts all the source values into plain String. This causes problems when a value is encoded differently and a different type is required when recovering a failed event.

We need a smarter way of dealing with that. Ideally Name-Value-Pair should be removed, but until then we need an alternative codec that will somehow restore the type.

@github-actions github-actions bot added the bug Something isn't working label Jun 18, 2024
@peel peel force-pushed the bug/nvps-codec-is-not-isomorphic branch from 5198027 to e75db58 Compare June 18, 2024 10:01
peel added 3 commits June 18, 2024 12:56
NVP (Name-Value-Pair) type casts all the source values into plain `String`.
This causes problems when a value is encoded differently and a different
type is required when recovering a failed event.

We need a smarter way of dealing with that. Ideally Name-Value-Pair should
be removed, but until then we need an alternative codec that will somehow
restore the type.
@peel peel force-pushed the bug/nvps-codec-is-not-isomorphic branch from 78182a8 to f1efe9b Compare June 18, 2024 10:56
@peel peel merged commit 38e7435 into develop Jun 18, 2024
1 check passed
@peel peel deleted the bug/nvps-codec-is-not-isomorphic branch June 18, 2024 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant