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

node: API improvements #97

Merged
merged 2 commits into from
Oct 7, 2024
Merged

node: API improvements #97

merged 2 commits into from
Oct 7, 2024

Conversation

urso
Copy link
Collaborator

@urso urso commented Aug 26, 2024

  • Add constant value helpers like intVal, boolVal,...
  • safeCastNode now accepts an optional node pointer as well. A null value will be converted into a properly typed null value of the target node type.

@urso urso changed the title node: node: API improvements Aug 26, 2024
@urso urso requested a review from tsg August 26, 2024 13:24
@urso urso merged commit 3f6f4a1 into xataio:main Oct 7, 2024
1 check passed
@urso urso deleted the nodes-tools branch October 7, 2024 08:17
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.

2 participants