Skip to content

Best Practices for Entities in Golem-base

  1. Use a unique app value or even a unique key/value pair that uniquely defines your application. When creating entities in Golem-base, your entities become visible to anyone interacting with Golem-base.

    This applies to queries as well.

    This means that when you create an entity, the best practice is to include an "app" annotation with a value that uniquely defines your particular app or use for the entity.

    Another possibility is to create a very unique key (either a hash, or perhaps some highly specific string), and then a value that uniquely defines your app.

    In either case, you would then include either the app or the unique key string in your query.

...more coming soon...