appwrite / sdk-for-cli

[READ-ONLY] Official Appwrite CLI >_
BSD 3-Clause "New" or "Revised" License
85 stars 28 forks source link

🐛 Bug Report: CLI only matches on collection id rather than database id and collection id #74

Closed saidhasyim closed 1 year ago

saidhasyim commented 1 year ago

👟 Reproduction steps

  1. Create 2 databases.
  2. In each database, create a collection. Both with the same collection ID
  3. Run appwrite init collection
  4. Select all collections

👍 Expected behavior

CLI shall write all databases into the appwrite.json

👎 Actual Behavior

CLI only writes 1 set of database into appwrite.json

🎲 Appwrite version

Version 1.2.x

💻 Operating system

Windows

🧱 Your Environment

Local docker

👀 Have you spent some time to check if this issue has been raised before?

🏢 Have you read the Code of Conduct?

joeyouss commented 1 year ago

Hi @saidhasyim - Thanks for creating this issue, our team will be reviewing this ASAP