Closed jmbrunskill closed 7 months ago
No tests have been added, would be nice to have those integration test we had in jest to update...
We do have these? https://github.com/msupply-foundation/unified-codes/blob/develop/frontend/integration/v1_graphql_entity.int.ts
Run with yarn test-integration
No tests have been added, would be nice to have those integration test we had in jest to update...
We do have these? https://github.com/msupply-foundation/unified-codes/blob/develop/frontend/integration/v1_graphql_entity.int.ts
Run with
yarn test-integration
Ah nice, for some reason I thought we'd lost them as we were going to move to rust ones. I'll update...
Actually! Tests aren't compiling... 😅
error[E0609]: no field `properties` on type `EntityData`
--> dgraph/src/entities.rs:134:23
|
134 | assert!(!data.properties.is_empty())
| ^^^^^^^^^^ unknown field
|
= note: available fields are: `data`, `aggregates`
Fixes #608
Description
Requesting
product
on anentities
query such as mSupply does now works.Tests:
No tests have been added, would be nice to have those integration test we had in jest to update...