Skip to content

Commit de06ecc

Browse files
authored
Merge pull request #612 from block/myron/expose-apollo-entity-ref-pre-1.0
Backport `apollo_entity_ref_field` to pre-1.0
2 parents 10a6cf3 + 945b9cf commit de06ecc

75 files changed

Lines changed: 6156 additions & 2277 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

config/schema/artifacts/datastore_config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1543,6 +1543,10 @@ indices:
15431543
type: integer
15441544
part_ids:
15451545
type: keyword
1546+
owner_ids:
1547+
type: keyword
1548+
owner_id:
1549+
type: keyword
15461550
__counts:
15471551
properties:
15481552
tags:
@@ -1551,6 +1555,8 @@ indices:
15511555
type: integer
15521556
part_ids:
15531557
type: integer
1558+
owner_ids:
1559+
type: integer
15541560
__sources:
15551561
type: keyword
15561562
__versions:

config/schema/artifacts/json_schemas.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,18 @@ json_schema_version: 1
212212
allOf:
213213
- "$ref": "#/$defs/ID"
214214
- maxLength: 8191
215+
owner_ids:
216+
type: array
217+
items:
218+
allOf:
219+
- "$ref": "#/$defs/ID"
220+
- maxLength: 8191
221+
owner_id:
222+
anyOf:
223+
- allOf:
224+
- "$ref": "#/$defs/ID"
225+
- maxLength: 8191
226+
- type: 'null'
215227
__typename:
216228
type: string
217229
const: Component
@@ -223,6 +235,8 @@ json_schema_version: 1
223235
- position
224236
- tags
225237
- part_ids
238+
- owner_ids
239+
- owner_id
226240
Date:
227241
type: string
228242
format: date

config/schema/artifacts/json_schemas_by_version/v1.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,24 @@ json_schema_version: 1
263263
ElasticGraph:
264264
type: "[ID!]!"
265265
nameInIndex: part_ids
266+
owner_ids:
267+
type: array
268+
items:
269+
allOf:
270+
- "$ref": "#/$defs/ID"
271+
- maxLength: 8191
272+
ElasticGraph:
273+
type: "[ID!]!"
274+
nameInIndex: owner_ids
275+
owner_id:
276+
anyOf:
277+
- allOf:
278+
- "$ref": "#/$defs/ID"
279+
- maxLength: 8191
280+
- type: 'null'
281+
ElasticGraph:
282+
type: ID
283+
nameInIndex: owner_id
266284
__typename:
267285
type: string
268286
const: Component
@@ -274,6 +292,8 @@ json_schema_version: 1
274292
- position
275293
- tags
276294
- part_ids
295+
- owner_ids
296+
- owner_id
277297
Date:
278298
type: string
279299
format: date

0 commit comments

Comments
 (0)