Zendro-dev / graphql-server-model-codegen

Command line utility to auto-generate the structure files for a graphql server
MIT License
1 stars 2 forks source link

Rename target-key to foreign-key #147

Open asishallab opened 4 years ago

asishallab commented 4 years ago

Currently Zendro models relations between data models using the classic foreign-key method borrowed from the realm of relational databases. In this, foreign keys are scalar, i.e. they are of type String or Integer. As to this moment these foreign-keys are called "target-keys" in Zendro, which is not that explanatory as "foreign-key" is - at least to anyone with experience in relational databases.

Rename all occurrences of "target-key" in Zendro to "foreign-key" including the documentation.