elasticgraph-schema_definition 0.19.1.1 → 0.19.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/lib/elastic_graph/schema_definition/api.rb +112 -6
- data/lib/elastic_graph/schema_definition/factory.rb +25 -23
- data/lib/elastic_graph/schema_definition/indexing/derived_fields/append_only_set.rb +1 -1
- data/lib/elastic_graph/schema_definition/indexing/derived_fields/field_initializer_support.rb +1 -1
- data/lib/elastic_graph/schema_definition/indexing/derived_fields/immutable_value.rb +1 -1
- data/lib/elastic_graph/schema_definition/indexing/derived_fields/min_or_max_value.rb +1 -1
- data/lib/elastic_graph/schema_definition/indexing/derived_indexed_type.rb +1 -1
- data/lib/elastic_graph/schema_definition/indexing/event_envelope.rb +12 -3
- data/lib/elastic_graph/schema_definition/indexing/field.rb +1 -1
- data/lib/elastic_graph/schema_definition/indexing/field_reference.rb +1 -1
- data/lib/elastic_graph/schema_definition/indexing/field_type/enum.rb +1 -1
- data/lib/elastic_graph/schema_definition/indexing/field_type/object.rb +1 -1
- data/lib/elastic_graph/schema_definition/indexing/field_type/scalar.rb +1 -1
- data/lib/elastic_graph/schema_definition/indexing/field_type/union.rb +1 -1
- data/lib/elastic_graph/schema_definition/indexing/index.rb +4 -2
- data/lib/elastic_graph/schema_definition/indexing/json_schema_field_metadata.rb +1 -1
- data/lib/elastic_graph/schema_definition/indexing/json_schema_with_metadata.rb +1 -1
- data/lib/elastic_graph/schema_definition/indexing/list_counts_mapping.rb +1 -1
- data/lib/elastic_graph/schema_definition/indexing/relationship_resolver.rb +1 -1
- data/lib/elastic_graph/schema_definition/indexing/rollover_config.rb +1 -1
- data/lib/elastic_graph/schema_definition/indexing/update_target_factory.rb +1 -1
- data/lib/elastic_graph/schema_definition/indexing/update_target_resolver.rb +1 -1
- data/lib/elastic_graph/schema_definition/json_schema_pruner.rb +4 -2
- data/lib/elastic_graph/schema_definition/mixins/can_be_graphql_only.rb +1 -1
- data/lib/elastic_graph/schema_definition/mixins/has_derived_graphql_type_customizations.rb +1 -1
- data/lib/elastic_graph/schema_definition/mixins/has_directives.rb +1 -1
- data/lib/elastic_graph/schema_definition/mixins/has_documentation.rb +1 -1
- data/lib/elastic_graph/schema_definition/mixins/has_indices.rb +40 -4
- data/lib/elastic_graph/schema_definition/mixins/has_readable_to_s_and_inspect.rb +2 -1
- data/lib/elastic_graph/schema_definition/mixins/has_subtypes.rb +1 -1
- data/lib/elastic_graph/schema_definition/mixins/has_type_info.rb +1 -1
- data/lib/elastic_graph/schema_definition/mixins/implements_interfaces.rb +1 -1
- data/lib/elastic_graph/schema_definition/mixins/supports_default_value.rb +1 -1
- data/lib/elastic_graph/schema_definition/mixins/supports_filtering_and_aggregation.rb +9 -3
- data/lib/elastic_graph/schema_definition/mixins/verifies_graphql_name.rb +1 -1
- data/lib/elastic_graph/schema_definition/rake_tasks.rb +1 -1
- data/lib/elastic_graph/schema_definition/results.rb +133 -13
- data/lib/elastic_graph/schema_definition/schema_artifact_manager.rb +5 -4
- data/lib/elastic_graph/schema_definition/schema_elements/argument.rb +1 -1
- data/lib/elastic_graph/schema_definition/schema_elements/built_in_types.rb +47 -15
- data/lib/elastic_graph/schema_definition/schema_elements/deprecated_element.rb +1 -1
- data/lib/elastic_graph/schema_definition/schema_elements/directive.rb +1 -1
- data/lib/elastic_graph/schema_definition/schema_elements/enum_type.rb +1 -1
- data/lib/elastic_graph/schema_definition/schema_elements/enum_value.rb +1 -1
- data/lib/elastic_graph/schema_definition/schema_elements/enum_value_namer.rb +1 -1
- data/lib/elastic_graph/schema_definition/schema_elements/enums_for_indexed_types.rb +1 -1
- data/lib/elastic_graph/schema_definition/schema_elements/field.rb +15 -10
- data/lib/elastic_graph/schema_definition/schema_elements/field_path.rb +1 -1
- data/lib/elastic_graph/schema_definition/schema_elements/field_source.rb +1 -1
- data/lib/elastic_graph/schema_definition/schema_elements/graphql_sdl_enumerator.rb +4 -78
- data/lib/elastic_graph/schema_definition/schema_elements/input_field.rb +1 -1
- data/lib/elastic_graph/schema_definition/schema_elements/input_type.rb +6 -2
- data/lib/elastic_graph/schema_definition/schema_elements/interface_type.rb +1 -1
- data/lib/elastic_graph/schema_definition/schema_elements/list_counts_state.rb +1 -1
- data/lib/elastic_graph/schema_definition/schema_elements/object_type.rb +1 -1
- data/lib/elastic_graph/schema_definition/schema_elements/relationship.rb +8 -2
- data/lib/elastic_graph/schema_definition/schema_elements/scalar_type.rb +3 -3
- data/lib/elastic_graph/schema_definition/schema_elements/sort_order_enum_value.rb +1 -1
- data/lib/elastic_graph/schema_definition/schema_elements/sub_aggregation_path.rb +1 -1
- data/lib/elastic_graph/schema_definition/schema_elements/type_namer.rb +1 -1
- data/lib/elastic_graph/schema_definition/schema_elements/type_reference.rb +1 -1
- data/lib/elastic_graph/schema_definition/schema_elements/type_with_subfields.rb +4 -5
- data/lib/elastic_graph/schema_definition/schema_elements/union_type.rb +1 -1
- data/lib/elastic_graph/schema_definition/scripting/file_system_repository.rb +1 -1
- data/lib/elastic_graph/schema_definition/scripting/script.rb +1 -1
- data/lib/elastic_graph/schema_definition/state.rb +4 -1
- data/lib/elastic_graph/schema_definition/test_support.rb +23 -3
- metadata +52 -30
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2024 Block, Inc.
|
1
|
+
# Copyright 2024 - 2025 Block, Inc.
|
2
2
|
#
|
3
3
|
# Use of this source code is governed by an MIT-style
|
4
4
|
# license that can be found in the LICENSE file or at
|
@@ -17,15 +17,15 @@ module ElasticGraph
|
|
17
17
|
# @dynamic schema_def_state
|
18
18
|
attr_reader :schema_def_state
|
19
19
|
|
20
|
-
def initialize(schema_def_state,
|
20
|
+
def initialize(schema_def_state, all_types)
|
21
21
|
@schema_def_state = schema_def_state
|
22
|
-
@
|
22
|
+
@all_types = all_types
|
23
23
|
end
|
24
24
|
|
25
25
|
# Yields the SDL for each GraphQL type, including both explicitly defined
|
26
26
|
# GraphQL types and derived GraphqL types.
|
27
27
|
def each(&block)
|
28
|
-
all_types =
|
28
|
+
all_types = @all_types.sort_by(&:name)
|
29
29
|
all_type_names = all_types.map(&:name).to_set
|
30
30
|
|
31
31
|
all_types.each do |type|
|
@@ -33,80 +33,6 @@ module ElasticGraph
|
|
33
33
|
yield type.to_sdl { |arg| all_type_names.include?(arg.value_type.fully_unwrapped.name) }
|
34
34
|
end
|
35
35
|
end
|
36
|
-
|
37
|
-
private
|
38
|
-
|
39
|
-
def enumerate_all_types
|
40
|
-
[root_query_type].compact + @all_types_except_root_query_type
|
41
|
-
end
|
42
|
-
|
43
|
-
def aggregation_efficiency_hints_for(derived_indexed_types)
|
44
|
-
return nil if derived_indexed_types.empty?
|
45
|
-
|
46
|
-
hints = derived_indexed_types.map do |type|
|
47
|
-
derived_indexing_type = @schema_def_state.types_by_name.fetch(type.destination_type_ref.name)
|
48
|
-
alternate_field_name = (_ = derived_indexing_type).plural_root_query_field_name
|
49
|
-
grouping_field = type.id_source
|
50
|
-
|
51
|
-
" - The root `#{alternate_field_name}` field groups by `#{grouping_field}`"
|
52
|
-
end
|
53
|
-
|
54
|
-
<<~EOS
|
55
|
-
Note: aggregation queries are relatively expensive, and some fields have been pre-aggregated to allow
|
56
|
-
more efficient queries for some common aggregation cases:
|
57
|
-
|
58
|
-
#{hints.join("\n")}
|
59
|
-
EOS
|
60
|
-
end
|
61
|
-
|
62
|
-
def root_query_type
|
63
|
-
# Some of our tests need to define their own root `Query` type, so here we avoid
|
64
|
-
# generating `Query` if an sdl part exists that already defines it.
|
65
|
-
return nil if @schema_def_state.sdl_parts.flat_map { |sdl| sdl.lines }.any? { |line| line.start_with?("type Query") }
|
66
|
-
|
67
|
-
new_built_in_object_type "Query" do |t|
|
68
|
-
t.documentation "The query entry point for the entire schema."
|
69
|
-
|
70
|
-
@schema_def_state.types_by_name.values.select(&:indexed?).sort_by(&:name).each do |type|
|
71
|
-
# @type var indexed_type: Mixins::HasIndices & _Type
|
72
|
-
indexed_type = _ = type
|
73
|
-
|
74
|
-
t.relates_to_many(
|
75
|
-
indexed_type.plural_root_query_field_name,
|
76
|
-
indexed_type.name,
|
77
|
-
via: "ignore",
|
78
|
-
dir: :in,
|
79
|
-
singular: indexed_type.singular_root_query_field_name
|
80
|
-
) do |f|
|
81
|
-
f.documentation "Fetches `#{indexed_type.name}`s based on the provided arguments."
|
82
|
-
indexed_type.root_query_fields_customizations&.call(f)
|
83
|
-
end
|
84
|
-
|
85
|
-
# Add additional efficiency hints to the aggregation field documentation if we have any such hints.
|
86
|
-
# This needs to be outside the `relates_to_many` block because `relates_to_many` adds its own "suffix" to
|
87
|
-
# the field documentation, and here we add another one.
|
88
|
-
if (agg_efficiency_hint = aggregation_efficiency_hints_for(indexed_type.derived_indexed_types))
|
89
|
-
agg_name = @schema_def_state.schema_elements.normalize_case("#{indexed_type.singular_root_query_field_name}_aggregations")
|
90
|
-
agg_field = t.graphql_fields_by_name.fetch(agg_name)
|
91
|
-
agg_field.documentation "#{agg_field.doc_comment}\n\n#{agg_efficiency_hint}"
|
92
|
-
end
|
93
|
-
end
|
94
|
-
end
|
95
|
-
end
|
96
|
-
|
97
|
-
def new_built_in_object_type(name, &block)
|
98
|
-
new_object_type name do |type|
|
99
|
-
@schema_def_state.built_in_types_customization_blocks.each do |customization_block|
|
100
|
-
customization_block.call(type)
|
101
|
-
end
|
102
|
-
|
103
|
-
block.call(type)
|
104
|
-
end
|
105
|
-
end
|
106
|
-
|
107
|
-
def new_object_type(name, &block)
|
108
|
-
@schema_def_state.factory.new_object_type(name, &block)
|
109
|
-
end
|
110
36
|
end
|
111
37
|
end
|
112
38
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2024 Block, Inc.
|
1
|
+
# Copyright 2024 - 2025 Block, Inc.
|
2
2
|
#
|
3
3
|
# Use of this source code is governed by an MIT-style
|
4
4
|
# license that can be found in the LICENSE file or at
|
@@ -41,10 +41,14 @@ module ElasticGraph
|
|
41
41
|
end
|
42
42
|
|
43
43
|
def runtime_metadata(extra_update_targets)
|
44
|
+
graphql_input_fields_by_name = graphql_fields_by_name.transform_values do |field|
|
45
|
+
field.runtime_metadata_graphql_field.with(resolver: nil)
|
46
|
+
end
|
47
|
+
|
44
48
|
SchemaArtifacts::RuntimeMetadata::ObjectType.new(
|
45
49
|
update_targets: extra_update_targets,
|
46
50
|
index_definition_names: [],
|
47
|
-
graphql_fields_by_name:
|
51
|
+
graphql_fields_by_name: graphql_input_fields_by_name,
|
48
52
|
elasticgraph_category: nil,
|
49
53
|
source_type: nil,
|
50
54
|
graphql_only_return_type: false
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2024 Block, Inc.
|
1
|
+
# Copyright 2024 - 2025 Block, Inc.
|
2
2
|
#
|
3
3
|
# Use of this source code is governed by an MIT-style
|
4
4
|
# license that can be found in the LICENSE file or at
|
@@ -37,14 +37,18 @@ module ElasticGraph
|
|
37
37
|
# end
|
38
38
|
# end
|
39
39
|
class Relationship < DelegateClass(Field)
|
40
|
-
# @dynamic related_type
|
40
|
+
# @dynamic related_type, hide_relationship_runtime_metadata, hide_relationship_runtime_metadata=
|
41
41
|
|
42
42
|
# @return [ObjectType, InterfaceType, UnionType] the type this relationship relates to
|
43
43
|
attr_reader :related_type
|
44
44
|
|
45
|
+
# @private
|
46
|
+
attr_accessor :hide_relationship_runtime_metadata
|
47
|
+
|
45
48
|
# @private
|
46
49
|
def initialize(field, cardinality:, related_type:, foreign_key:, direction:)
|
47
50
|
super(field)
|
51
|
+
self.hide_relationship_runtime_metadata = false
|
48
52
|
@cardinality = cardinality
|
49
53
|
@related_type = related_type
|
50
54
|
@foreign_key = foreign_key
|
@@ -192,6 +196,8 @@ module ElasticGraph
|
|
192
196
|
|
193
197
|
# @private
|
194
198
|
def runtime_metadata
|
199
|
+
return nil if hide_relationship_runtime_metadata
|
200
|
+
|
195
201
|
resolved_related_type = (_ = related_type.unwrap_list.as_object_type) # : indexableType
|
196
202
|
foreign_key_nested_paths = schema_def_state.field_path_resolver.determine_nested_paths(resolved_related_type, @foreign_key)
|
197
203
|
foreign_key_nested_paths ||= [] # : ::Array[::String]
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2024 Block, Inc.
|
1
|
+
# Copyright 2024 - 2025 Block, Inc.
|
2
2
|
#
|
3
3
|
# Use of this source code is governed by an MIT-style
|
4
4
|
# license that can be found in the LICENSE file or at
|
@@ -112,7 +112,7 @@ module ElasticGraph
|
|
112
112
|
# end
|
113
113
|
def coerce_with(adapter_name, defined_at:)
|
114
114
|
self.runtime_metadata = runtime_metadata.with(coercion_adapter_ref: {
|
115
|
-
"
|
115
|
+
"name" => adapter_name,
|
116
116
|
"require_path" => defined_at
|
117
117
|
}).tap(&:load_coercion_adapter) # verify the adapter is valid.
|
118
118
|
end
|
@@ -140,7 +140,7 @@ module ElasticGraph
|
|
140
140
|
# end
|
141
141
|
def prepare_for_indexing_with(preparer_name, defined_at:)
|
142
142
|
self.runtime_metadata = runtime_metadata.with(indexing_preparer_ref: {
|
143
|
-
"
|
143
|
+
"name" => preparer_name,
|
144
144
|
"require_path" => defined_at
|
145
145
|
}).tap(&:load_indexing_preparer) # verify the preparer is valid.
|
146
146
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2024 Block, Inc.
|
1
|
+
# Copyright 2024 - 2025 Block, Inc.
|
2
2
|
#
|
3
3
|
# Use of this source code is governed by an MIT-style
|
4
4
|
# license that can be found in the LICENSE file or at
|
@@ -197,8 +197,6 @@ module ElasticGraph
|
|
197
197
|
"configure an alternate name for the `#{name}` operator."
|
198
198
|
end
|
199
199
|
|
200
|
-
options = {name_in_index: nil}.merge(options) if graphql_only
|
201
|
-
|
202
200
|
field_factory.call(
|
203
201
|
name: name,
|
204
202
|
type: type,
|
@@ -537,9 +535,10 @@ module ElasticGraph
|
|
537
535
|
direction: dir
|
538
536
|
)
|
539
537
|
|
540
|
-
yield relationship if block_given?
|
541
|
-
|
542
538
|
field.relationship = relationship
|
539
|
+
field.resolver = :nested_relationships
|
540
|
+
|
541
|
+
yield relationship if block_given?
|
543
542
|
|
544
543
|
if dir == :out
|
545
544
|
register_inferred_foreign_key_fields(from_type: [via, foreign_key_type], to_other: ["id", "ID!"], related_type: relationship.related_type)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2024 Block, Inc.
|
1
|
+
# Copyright 2024 - 2025 Block, Inc.
|
2
2
|
#
|
3
3
|
# Use of this source code is governed by an MIT-style
|
4
4
|
# license that can be found in the LICENSE file or at
|
@@ -42,6 +42,8 @@ module ElasticGraph
|
|
42
42
|
:json_schema_version,
|
43
43
|
:json_schema_version_setter_location,
|
44
44
|
:graphql_extension_modules,
|
45
|
+
:graphql_resolvers_by_name,
|
46
|
+
:resolvers_by_name,
|
45
47
|
:initially_registered_built_in_types,
|
46
48
|
:built_in_types_customization_blocks,
|
47
49
|
:user_definition_complete,
|
@@ -85,6 +87,7 @@ module ElasticGraph
|
|
85
87
|
json_schema_version_setter_location: nil,
|
86
88
|
json_schema_version: nil,
|
87
89
|
graphql_extension_modules: [],
|
90
|
+
graphql_resolvers_by_name: {},
|
88
91
|
initially_registered_built_in_types: ::Set.new,
|
89
92
|
built_in_types_customization_blocks: [],
|
90
93
|
user_definition_complete: false,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2024 Block, Inc.
|
1
|
+
# Copyright 2024 - 2025 Block, Inc.
|
2
2
|
#
|
3
3
|
# Use of this source code is governed by an MIT-style
|
4
4
|
# license that can be found in the LICENSE file or at
|
@@ -7,8 +7,9 @@
|
|
7
7
|
# frozen_string_literal: true
|
8
8
|
|
9
9
|
require "elastic_graph/errors"
|
10
|
-
require "elastic_graph/schema_definition/api"
|
11
10
|
require "elastic_graph/schema_artifacts/runtime_metadata/schema_element_names"
|
11
|
+
require "elastic_graph/schema_definition/api"
|
12
|
+
require "elastic_graph/schema_definition/schema_artifact_manager"
|
12
13
|
|
13
14
|
module ElasticGraph
|
14
15
|
module SchemaDefinition
|
@@ -27,6 +28,7 @@ module ElasticGraph
|
|
27
28
|
derived_type_name_formats: {},
|
28
29
|
type_name_overrides: {},
|
29
30
|
enum_value_overrides_by_type: {},
|
31
|
+
reload_schema_artifacts: false,
|
30
32
|
output: nil,
|
31
33
|
&block
|
32
34
|
)
|
@@ -43,6 +45,7 @@ module ElasticGraph
|
|
43
45
|
derived_type_name_formats: derived_type_name_formats,
|
44
46
|
type_name_overrides: type_name_overrides,
|
45
47
|
enum_value_overrides_by_type: enum_value_overrides_by_type,
|
48
|
+
reload_schema_artifacts: reload_schema_artifacts,
|
46
49
|
output: output,
|
47
50
|
&block
|
48
51
|
)
|
@@ -56,6 +59,7 @@ module ElasticGraph
|
|
56
59
|
derived_type_name_formats: {},
|
57
60
|
type_name_overrides: {},
|
58
61
|
enum_value_overrides_by_type: {},
|
62
|
+
reload_schema_artifacts: false,
|
59
63
|
output: nil
|
60
64
|
)
|
61
65
|
api = API.new(
|
@@ -75,7 +79,23 @@ module ElasticGraph
|
|
75
79
|
api.json_schema_version json_schema_version
|
76
80
|
end
|
77
81
|
|
78
|
-
|
82
|
+
# :nocov: -- the else branch and code past this aren't used by tests in elasticgraph-schema_definition.
|
83
|
+
return api.results unless reload_schema_artifacts
|
84
|
+
|
85
|
+
# Reloading the schema artifacts takes extra time that we don't usually want to spend (so it's opt-in)
|
86
|
+
# but it can be useful in some cases because there is a bit of extra pruning/validation that it applies.
|
87
|
+
tmp_dir = ::Dir.mktmpdir
|
88
|
+
artifacts_manager = SchemaDefinition::SchemaArtifactManager.new(
|
89
|
+
schema_definition_results: api.results,
|
90
|
+
schema_artifacts_directory: tmp_dir,
|
91
|
+
enforce_json_schema_version: false,
|
92
|
+
output: ::StringIO.new
|
93
|
+
)
|
94
|
+
|
95
|
+
artifacts_manager.dump_artifacts
|
96
|
+
|
97
|
+
SchemaArtifacts::FromDisk.new(tmp_dir)
|
98
|
+
# :nocov:
|
79
99
|
end
|
80
100
|
|
81
101
|
DOC_COMMENTS = (
|
metadata
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticgraph-schema_definition
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Myron Marston
|
8
8
|
- Ben VandenBos
|
9
9
|
- Block Engineering
|
10
|
-
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2025-
|
12
|
+
date: 2025-04-24 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: elasticgraph-graphql
|
@@ -18,84 +17,104 @@ dependencies:
|
|
18
17
|
requirements:
|
19
18
|
- - '='
|
20
19
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.19.
|
20
|
+
version: 0.19.2.1
|
22
21
|
type: :runtime
|
23
22
|
prerelease: false
|
24
23
|
version_requirements: !ruby/object:Gem::Requirement
|
25
24
|
requirements:
|
26
25
|
- - '='
|
27
26
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.19.
|
27
|
+
version: 0.19.2.1
|
29
28
|
- !ruby/object:Gem::Dependency
|
30
29
|
name: elasticgraph-indexer
|
31
30
|
requirement: !ruby/object:Gem::Requirement
|
32
31
|
requirements:
|
33
32
|
- - '='
|
34
33
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.19.
|
34
|
+
version: 0.19.2.1
|
36
35
|
type: :runtime
|
37
36
|
prerelease: false
|
38
37
|
version_requirements: !ruby/object:Gem::Requirement
|
39
38
|
requirements:
|
40
39
|
- - '='
|
41
40
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.19.
|
41
|
+
version: 0.19.2.1
|
43
42
|
- !ruby/object:Gem::Dependency
|
44
43
|
name: elasticgraph-json_schema
|
45
44
|
requirement: !ruby/object:Gem::Requirement
|
46
45
|
requirements:
|
47
46
|
- - '='
|
48
47
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.19.
|
48
|
+
version: 0.19.2.1
|
50
49
|
type: :runtime
|
51
50
|
prerelease: false
|
52
51
|
version_requirements: !ruby/object:Gem::Requirement
|
53
52
|
requirements:
|
54
53
|
- - '='
|
55
54
|
- !ruby/object:Gem::Version
|
56
|
-
version: 0.19.
|
55
|
+
version: 0.19.2.1
|
57
56
|
- !ruby/object:Gem::Dependency
|
58
57
|
name: elasticgraph-schema_artifacts
|
59
58
|
requirement: !ruby/object:Gem::Requirement
|
60
59
|
requirements:
|
61
60
|
- - '='
|
62
61
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.19.
|
62
|
+
version: 0.19.2.1
|
64
63
|
type: :runtime
|
65
64
|
prerelease: false
|
66
65
|
version_requirements: !ruby/object:Gem::Requirement
|
67
66
|
requirements:
|
68
67
|
- - '='
|
69
68
|
- !ruby/object:Gem::Version
|
70
|
-
version: 0.19.
|
69
|
+
version: 0.19.2.1
|
71
70
|
- !ruby/object:Gem::Dependency
|
72
71
|
name: elasticgraph-support
|
73
72
|
requirement: !ruby/object:Gem::Requirement
|
74
73
|
requirements:
|
75
74
|
- - '='
|
76
75
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.19.
|
76
|
+
version: 0.19.2.1
|
78
77
|
type: :runtime
|
79
78
|
prerelease: false
|
80
79
|
version_requirements: !ruby/object:Gem::Requirement
|
81
80
|
requirements:
|
82
81
|
- - '='
|
83
82
|
- !ruby/object:Gem::Version
|
84
|
-
version: 0.19.
|
83
|
+
version: 0.19.2.1
|
85
84
|
- !ruby/object:Gem::Dependency
|
86
85
|
name: graphql
|
87
86
|
requirement: !ruby/object:Gem::Requirement
|
88
87
|
requirements:
|
89
88
|
- - "~>"
|
90
89
|
- !ruby/object:Gem::Version
|
91
|
-
version: 2.4
|
90
|
+
version: 2.5.4
|
92
91
|
type: :runtime
|
93
92
|
prerelease: false
|
94
93
|
version_requirements: !ruby/object:Gem::Requirement
|
95
94
|
requirements:
|
96
95
|
- - "~>"
|
97
96
|
- !ruby/object:Gem::Version
|
98
|
-
version: 2.4
|
97
|
+
version: 2.5.4
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: graphql-c_parser
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - "~>"
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '1.1'
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: 1.1.2
|
108
|
+
type: :runtime
|
109
|
+
prerelease: false
|
110
|
+
version_requirements: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - "~>"
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '1.1'
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.1.2
|
99
118
|
- !ruby/object:Gem::Dependency
|
100
119
|
name: rake
|
101
120
|
requirement: !ruby/object:Gem::Requirement
|
@@ -103,6 +122,9 @@ dependencies:
|
|
103
122
|
- - "~>"
|
104
123
|
- !ruby/object:Gem::Version
|
105
124
|
version: '13.2'
|
125
|
+
- - ">="
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: 13.2.1
|
106
128
|
type: :runtime
|
107
129
|
prerelease: false
|
108
130
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -110,63 +132,65 @@ dependencies:
|
|
110
132
|
- - "~>"
|
111
133
|
- !ruby/object:Gem::Version
|
112
134
|
version: '13.2'
|
135
|
+
- - ">="
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: 13.2.1
|
113
138
|
- !ruby/object:Gem::Dependency
|
114
139
|
name: elasticgraph-admin
|
115
140
|
requirement: !ruby/object:Gem::Requirement
|
116
141
|
requirements:
|
117
142
|
- - '='
|
118
143
|
- !ruby/object:Gem::Version
|
119
|
-
version: 0.19.
|
144
|
+
version: 0.19.2.1
|
120
145
|
type: :development
|
121
146
|
prerelease: false
|
122
147
|
version_requirements: !ruby/object:Gem::Requirement
|
123
148
|
requirements:
|
124
149
|
- - '='
|
125
150
|
- !ruby/object:Gem::Version
|
126
|
-
version: 0.19.
|
151
|
+
version: 0.19.2.1
|
127
152
|
- !ruby/object:Gem::Dependency
|
128
153
|
name: elasticgraph-datastore_core
|
129
154
|
requirement: !ruby/object:Gem::Requirement
|
130
155
|
requirements:
|
131
156
|
- - '='
|
132
157
|
- !ruby/object:Gem::Version
|
133
|
-
version: 0.19.
|
158
|
+
version: 0.19.2.1
|
134
159
|
type: :development
|
135
160
|
prerelease: false
|
136
161
|
version_requirements: !ruby/object:Gem::Requirement
|
137
162
|
requirements:
|
138
163
|
- - '='
|
139
164
|
- !ruby/object:Gem::Version
|
140
|
-
version: 0.19.
|
165
|
+
version: 0.19.2.1
|
141
166
|
- !ruby/object:Gem::Dependency
|
142
167
|
name: elasticgraph-elasticsearch
|
143
168
|
requirement: !ruby/object:Gem::Requirement
|
144
169
|
requirements:
|
145
170
|
- - '='
|
146
171
|
- !ruby/object:Gem::Version
|
147
|
-
version: 0.19.
|
172
|
+
version: 0.19.2.1
|
148
173
|
type: :development
|
149
174
|
prerelease: false
|
150
175
|
version_requirements: !ruby/object:Gem::Requirement
|
151
176
|
requirements:
|
152
177
|
- - '='
|
153
178
|
- !ruby/object:Gem::Version
|
154
|
-
version: 0.19.
|
179
|
+
version: 0.19.2.1
|
155
180
|
- !ruby/object:Gem::Dependency
|
156
181
|
name: elasticgraph-opensearch
|
157
182
|
requirement: !ruby/object:Gem::Requirement
|
158
183
|
requirements:
|
159
184
|
- - '='
|
160
185
|
- !ruby/object:Gem::Version
|
161
|
-
version: 0.19.
|
186
|
+
version: 0.19.2.1
|
162
187
|
type: :development
|
163
188
|
prerelease: false
|
164
189
|
version_requirements: !ruby/object:Gem::Requirement
|
165
190
|
requirements:
|
166
191
|
- - '='
|
167
192
|
- !ruby/object:Gem::Version
|
168
|
-
version: 0.19.
|
169
|
-
description:
|
193
|
+
version: 0.19.2.1
|
170
194
|
email:
|
171
195
|
- myron@squareup.com
|
172
196
|
executables: []
|
@@ -251,12 +275,11 @@ licenses:
|
|
251
275
|
- MIT
|
252
276
|
metadata:
|
253
277
|
bug_tracker_uri: https://github.com/block/elasticgraph/issues
|
254
|
-
changelog_uri: https://github.com/block/elasticgraph/releases/tag/v0.19.
|
255
|
-
documentation_uri: https://block.github.io/elasticgraph/docs/
|
278
|
+
changelog_uri: https://github.com/block/elasticgraph/releases/tag/v0.19.2.1
|
279
|
+
documentation_uri: https://block.github.io/elasticgraph/api-docs/v0.19.2.1/
|
256
280
|
homepage_uri: https://block.github.io/elasticgraph/
|
257
|
-
source_code_uri: https://github.com/block/elasticgraph/tree/v0.19.
|
281
|
+
source_code_uri: https://github.com/block/elasticgraph/tree/v0.19.2.1/elasticgraph-schema_definition
|
258
282
|
gem_category: local
|
259
|
-
post_install_message:
|
260
283
|
rdoc_options: []
|
261
284
|
require_paths:
|
262
285
|
- lib
|
@@ -274,8 +297,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
274
297
|
- !ruby/object:Gem::Version
|
275
298
|
version: '0'
|
276
299
|
requirements: []
|
277
|
-
rubygems_version: 3.
|
278
|
-
signing_key:
|
300
|
+
rubygems_version: 3.6.2
|
279
301
|
specification_version: 4
|
280
302
|
summary: ElasticGraph gem that provides the schema definition API and generates schema
|
281
303
|
artifacts.
|