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

chore: improved StringRecordId class #14

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

welpie21
Copy link
Contributor

Thank you for submitting this pull request! We appreciate you spending the time to work on these changes.

What is the motivation?

added functionality on top of the StringRecordId class which is essential. Also to keep it streamlined with the JS SDK.

What does this change do?

StringRecordId class constructor accepts the StringRecordId and RecordId as an argument rather than only string

What is your testing strategy?

Added unit testing to cover test cases for the StringRecordId class

Is this related to any issues?

No

Have you read the Contributing Guidelines?

- StringRecordId constructor accepts now `StringRecordId` or `RecordId` as argument
@kearfy kearfy merged commit 2b5b07f into surrealdb:main Nov 28, 2024
2 checks passed
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