Functions tagged in Databind using the tag keyword are added to a HashMap that's turned into tag files at the end of compilation. The problem with this is that any function tags that already contained things will be overwritten. Since the project already uses serde and serde_json, it wouldn't be hard to check if each tag .json file already exists and, if it does, add it to the TagFile struct created at the end.
I've marked this issue as a bug because Databind is meant to be able to be implemented alongside normal mcfunctions, or to be gradually integrated into a project.
Functions tagged in Databind using the
tag
keyword are added to a HashMap that's turned into tag files at the end of compilation. The problem with this is that any function tags that already contained things will be overwritten. Since the project already usesserde
andserde_json
, it wouldn't be hard to check if each tag.json
file already exists and, if it does, add it to theTagFile
struct created at the end.I've marked this issue as a bug because Databind is meant to be able to be implemented alongside normal mcfunctions, or to be gradually integrated into a project.