Skip to content

feat: add clean support for shared dgraph instances

Srevin Saju requested to merge work/srevin/clean-feature into main

Dgraph instances does not support the DropAll feature, and its disabled and 'only accessible' by the Dgraph team. Therefore, it becomes impossible to remove the schema. This can be solved by fetching and deleting each predicate of the schema from the dgraph database, while dropping all the data before. This enabled 'clean' command to still act like a dropAll alternative within dgraph

Merge request reports

Loading