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

Implement parser lookup in parse-row #6

Merged
merged 10 commits into from
Jan 31, 2024
Merged

Conversation

verberktstan
Copy link
Owner

@verberktstan verberktstan commented Jan 31, 2024

Make sure you can actually parse the entity-attribute and value parts of a row. Supply a parser lookup map to parse-row:

So you can parse a users age or product category like this

{[:user/id :user/age] edn/read-string
 [:product/id :product/category] keyword}

@verberktstan verberktstan merged commit 5083c30 into main Jan 31, 2024
2 checks passed
@verberktstan verberktstan deleted the verberktstan-patch-1 branch January 31, 2024 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant