NASA-AMMOS / aerie

A software framework for modeling spacecraft.
https://nasa-ammos.github.io/aerie-docs/
MIT License
73 stars 19 forks source link

Update Plan Metadata #1355

Closed Mythicaeda closed 8 months ago

Mythicaeda commented 8 months ago

Description

711 changed the relationship of plan to scheduling spec from an array relationship to an object relationship but did not update the Hasura metadata to reflect this. This PR updates that metadata and renames the relationship from the plural scheduling_specifications to the singular scheduling_specification. This metadata change is minorly breaking for anyone using that relationship.

Verification

The GET_PLAN query in the E2E tests was updated, but no other changes were necessary.

Documentation

No docs need to be updated, as we never referred to this relationship in them.

JoelCourtney commented 8 months ago

Does the UI need to be updated because of the name change?

Mythicaeda commented 8 months ago

Yeah, a mixture of the name change and the return type going from an array to an object, based on a discussion with @duranb.