informatics-isi-edu / ermrestjs

ERMrest client library in JavaScript
Apache License 2.0
4 stars 3 forks source link

Bulk create foreign key property added to annotations #1018

Closed jrchudy closed 2 weeks ago

jrchudy commented 3 weeks ago

This PR adds the functionality to check multiple annotations for the bulk_create_foreign_key property to use for the bulk create foreign key functionality in recordedit app. This previous PR added the functionality when certain heuristics were met (which included limiting this to tables with only 2 foreign keys). This annotation allows for a table with any number of foreign keys to use this feature provided the model is annotated according to the spec.

Tests that are included in this PR are as follows:

More details about these annotation changes can be found in the chaise issue.