You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I execute appwrite init collection, the appwrite.json file should sync with all collections from the remote Appwrite instance. It means it should also remove the collection from the appwrite.json if it is deleted from the appwrite instance. The collection is not being deleted if it's removed from the database.
Reproduction steps
Create a Collection from the console
On CLI, execute appwrite init collection
Delete the Same collection from the console.
Again from CLI, execute appwrite init collection
Open the appwrite.json, and you will see the deleted collection listed there.
馃憤 Expected behavior
The deleted collection should get deleted from the appwrite.json file when the appwrite init collection command is executed. the same collection is not found in the remote Appwrite Instance.
馃憥 Actual Behavior
The deleted collection is not getting deleted from the appwrite.json file when appwrite init collection is executed. if it is not found in the remote server.
馃幉 Appwrite version
Version 1.4.x
馃捇 Operating system
Linux
馃П Your Environment
Tested on Both Linux and Windows. It happens on both OS
馃憖 Have you spent some time to check if this issue has been raised before?
Hey @punitdiwan , can you please assign this to me ?
stnguyen90
changed the title
馃悰 Bug Report: CLI appwrit.json not updating correctly
馃悰 Bug Report: appwrite init collection doesn't clear old collections
Oct 17, 2023
馃憻 Reproduction steps
When I execute
appwrite init collection
, the appwrite.json file should sync with all collections from the remote Appwrite instance. It means it should also remove the collection from theappwrite.json
if it is deleted from the appwrite instance. The collection is not being deleted if it's removed from the database.Reproduction steps
appwrite init collection
appwrite init collection
appwrite.json
, and you will see the deleted collection listed there.馃憤 Expected behavior
The deleted collection should get deleted from the
appwrite.json
file when theappwrite init collection
command is executed. the same collection is not found in the remote Appwrite Instance.馃憥 Actual Behavior
The deleted collection is not getting deleted from the
appwrite.json
file whenappwrite init collection
is executed. if it is not found in the remote server.馃幉 Appwrite version
Version 1.4.x
馃捇 Operating system
Linux
馃П Your Environment
Tested on Both Linux and Windows. It happens on both OS
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: