Extend tests to check that production schemas compile and merge

Description

The recent build problems in folio-snapshot (see MODGQL-165) were due to changes that allowed individual RAMLs (with their associated JSON schemas) to compile into a GraphQL schema just fine — but which resulted in the combination of two RAMLs yielding a fatal collision in which they both tried to define the same type ({{Tinstances}}).

The yarn test procedure should be extended to run a test and checks the ability to compile and merge the combination of schemas to be used in production.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Mike Taylor February 21, 2023 at 5:46 PM

I added a new test of ability to merge all productions schemas
    
For now, I am running a less demanding test so we can merge to master (which makes sense as that's already broken). I will reinstate the full test when is done.

 

Done

Details

Assignee

Reporter

Priority

Development Team

Thor

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created February 21, 2023 at 2:24 PM
Updated February 21, 2023 at 5:46 PM
Resolved February 21, 2023 at 5:46 PM
TestRail: Cases
TestRail: Runs