Skip to content

Refactor createDocument to simplify document ID generation - #2

Open
igolubic wants to merge 1 commit into
melohagan:mainfrom
igolubic:createdoc-fix
Open

Refactor createDocument to simplify document ID generation#2
igolubic wants to merge 1 commit into
melohagan:mainfrom
igolubic:createdoc-fix

Conversation

@igolubic

Copy link
Copy Markdown

Previously, the createDocument method required a documentId parameter, making it cumbersome to generate a unique ID for each new document. Now, if a custom documentId is not provided in the query, a unique ID is automatically generated using the ID.unique() method from the node-appwrite SDK.

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