typedb / typedb-driver-examples

TypeDB Driver Example Projects and Tutorials
https://typedb.com
Apache License 2.0
84 stars 57 forks source link

Make each example self-contained (dissolving the "schemas" package) #121

Closed alexjpwalker closed 2 years ago

alexjpwalker commented 2 years ago

Problem to Solve

Currently we have a mix of two styles: a schemas package that contains schemas for some examples, while other examples are self-contained (ie the schema sits in the example package itself).

Proposed Solution

We prefer the self-contained example approach. It's much better for homing into a single example and understanding how it's put together.

All examples should therefore be self-contained, by moving the schemas from schemas into each corresponding example and deleting the schemas package.