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

Added a deploy option to preserve attribs order #105

Closed

Conversation

BigPapoo
Copy link

@BigPapoo BigPapoo commented Jan 7, 2024

What does this PR do?

I added a deploy collection option for keeping the attributes ordered as they appear in the appwrite.json file.

Test Plan

Install modules :

npm install

Test the help :

node ./index.js deploy collection --help

Prepare an appwrite.json file :

node ./index.js login
node ./index.js init project
node ./index.js init collection

[OPTIONAL] Test the randomness of the current attributes creation (pick a collection in the list and check the attributes order):

node ./index.js deploy collection

Test the new attributes creation (pick a collection in the list and check that the attributes order is kept as original one):

node ./index.js deploy collection --preserve

Related PRs and Issues

None

Have you read the Contributing Guidelines on issues?

YES

@stnguyen90
Copy link
Contributor

Unfortunately, this is a read-only repo as the code is generated by our SDK Generator, and changes made only here would be wiped in the next release.

@stnguyen90 stnguyen90 closed this May 20, 2024
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