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

create a json serializer for each of the tree schema. Can be strategies or facto... #171

Open
github-actions bot opened this issue Jun 3, 2023 · 0 comments
Labels

Comments

@github-actions
Copy link

github-actions bot commented Jun 3, 2023

https://api.github.com/BKK-WeSpace/tree-population/blob/db075d9fb052ebae93b4722019b5d110096736bf/src/server/models/trees/trees.ts#L18

     * The id of this tree in the Vallaris database.
     */
    id: string;
    /**
     * Because we try to be opened to as many databases as possible, this properties object
     * will be a combination of all vendor-specific tree schemas.
     *
     * TODO create a json serializer for each of the tree schema. Can be strategies or factories, as long as they work and not too verbose...
     */
    properties?: WeSpaceTreeSchema & OpenStreetMapTreeSchema;
}
@github-actions github-actions bot added the todo label Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants