Commit e37cb08
committed
Skip eager SDL validation on the unresolvable-type wrapper example
With `VALIDATE_GRAPHQL_SCHEMAS=1` (as on CI), the eager SDL validation
raised the unresolvable-type error during GraphQL schema generation,
before JSON schema generation could exercise the wrapped
`FieldReference#resolve` nil return the example exists to cover, leaving
that branch uncovered. Tagging the example with
`:dont_validate_graphql_schema` (the existing opt-out for intentionally
invalid schemas) makes the error surface via the JSON schema path in all
environments.1 parent 6a733f1 commit e37cb08
1 file changed
Lines changed: 5 additions & 1 deletion
File tree
- elasticgraph-json_ingestion/spec/unit/elastic_graph/json_ingestion/schema_definition/indexing
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
| |||
0 commit comments