Swap-Aggregator-Subgraph/node_modules/@graphprotocol/graph-cli/tests/cli/validation/invalid-fulltext-directive.stderr
Richa-iitr d211083153 Revert "Revert "added handler""
This reverts commit c36ee8c5ca.
2022-07-03 07:30:05 +05:30

33 lines
1.6 KiB
Plaintext

- Load subgraph from subgraph.yaml
✖ Failed to load subgraph from subgraph.yaml: Error in schema.graphql:
A:
- @fulltext directive only allowed on '_Schema_' type
_Schema_:
BadValuesProvided:
- @fulltext argument 'name' must be a string
- @fulltext directive 'language' value must be one of: simple, da, nl, en, fi, fr, de, hu, it, no, pt, ro, ru, es, sv, tr
- @fulltext 'algorithm' value, 'ranked', must be one of: rank, proximityRank
InvalidField:
- @fulltext directive 'language' value must be one of: simple, da, nl, en, fi, fr, de, hu, it, no, pt, ro, ru, es, sv, tr
- @fulltext argument 'include > fields' must have the form '[{ name: "fieldName" }, ...]
InvalidArgument:
- found invalid argument: 'style', @fulltext directives only allow 'name', 'language', 'algorithm', and 'includes' arguments
IncludeMustBeList:
- @fulltext argument 'include' must be a list
MissingLanguageAlgorithmInclude:
- @fulltext argument 'language' must be specified
- @fulltext argument 'algorithm' must be specified
- @fulltext argument 'include' must be specified
IncludeItemNotObject:
- @fulltext argument 'include' must have the form '[{entity: "entityName", fields: [{name: "fieldName"}, ...]} ...]
IncludeMissingEntityField:
- @fulltext argument include must have two fields, 'entity' and 'fields'
InvalidIncludeArgumentOther:
- @fulltext argument 'include > other' must be be one of: entity, fields
IncludeFieldsMustBeList:
- @fulltext argument 'include > fields' must be a list
Other:
- @fulltext argument 'name' must be specified