graphql-armory 0.1.0.pre13 → 0.1.0.pre15
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/CHANGELOG.md +25 -0
- data/README.md +5 -5
- data/docs/authorization.md +4 -0
- data/docs/encrypted-ids.md +24 -2
- data/docs/persisted-queries.md +4 -0
- data/docs/rate-limiting.md +23 -0
- data/docs/response-caching.md +590 -0
- data/docs/subscriptions.md +261 -0
- data/docs/telemetry.md +39 -1
- data/docs/versioning.md +5 -0
- data/lib/graphql/armory/authorization/authorize.rb +3 -0
- data/lib/graphql/armory/authorization/scope.rb +2 -0
- data/lib/graphql/armory/caching/audit/command.rb +51 -0
- data/lib/graphql/armory/caching/audit/context_class.rb +117 -0
- data/lib/graphql/armory/caching/audit/declarations.rb +166 -0
- data/lib/graphql/armory/caching/audit/own_checks.rb +150 -0
- data/lib/graphql/armory/caching/audit/public_rules.rb +158 -0
- data/lib/graphql/armory/caching/audit/report.rb +113 -0
- data/lib/graphql/armory/caching/audit.rb +136 -0
- data/lib/graphql/armory/caching/base.rb +118 -0
- data/lib/graphql/armory/caching/canonical.rb +138 -0
- data/lib/graphql/armory/caching/charge.rb +86 -0
- data/lib/graphql/armory/caching/codec.rb +108 -0
- data/lib/graphql/armory/caching/context_methods.rb +88 -0
- data/lib/graphql/armory/caching/controls/app_schema.rb +70 -0
- data/lib/graphql/armory/caching/controls/context.rb +30 -0
- data/lib/graphql/armory/caching/controls/operations.rb +37 -0
- data/lib/graphql/armory/caching/controls/schema.rb +123 -0
- data/lib/graphql/armory/caching/controls/store.rb +16 -0
- data/lib/graphql/armory/caching/controls/walk_schema.rb +197 -0
- data/lib/graphql/armory/caching/controls.rb +19 -0
- data/lib/graphql/armory/caching/digester.rb +48 -0
- data/lib/graphql/armory/caching/errors.rb +16 -0
- data/lib/graphql/armory/caching/gate/admission.rb +67 -0
- data/lib/graphql/armory/caching/gate/signals.rb +65 -0
- data/lib/graphql/armory/caching/gate/store_check.rb +60 -0
- data/lib/graphql/armory/caching/gate/substitute.rb +61 -0
- data/lib/graphql/armory/caching/gate.rb +384 -0
- data/lib/graphql/armory/caching/integration/guard.rb +55 -0
- data/lib/graphql/armory/caching/integration/install.rb +262 -0
- data/lib/graphql/armory/caching/integration/query.rb +42 -0
- data/lib/graphql/armory/caching/integration.rb +141 -0
- data/lib/graphql/armory/caching/keyer.rb +208 -0
- data/lib/graphql/armory/caching/memory_store.rb +164 -0
- data/lib/graphql/armory/caching/nulls.rb +121 -0
- data/lib/graphql/armory/caching/purge.rb +98 -0
- data/lib/graphql/armory/caching/record_keys.rb +109 -0
- data/lib/graphql/armory/caching/recorder/context.rb +178 -0
- data/lib/graphql/armory/caching/recorder/log.rb +142 -0
- data/lib/graphql/armory/caching/recorder/null.rb +24 -0
- data/lib/graphql/armory/caching/recorder/shared_writes.rb +58 -0
- data/lib/graphql/armory/caching/recorder/substitute.rb +119 -0
- data/lib/graphql/armory/caching/recorder.rb +34 -0
- data/lib/graphql/armory/caching/redis_store/scripts.rb +159 -0
- data/lib/graphql/armory/caching/redis_store.rb +162 -0
- data/lib/graphql/armory/caching/rspec.rb +25 -0
- data/lib/graphql/armory/caching/schema_identity.rb +102 -0
- data/lib/graphql/armory/caching/store/null.rb +31 -0
- data/lib/graphql/armory/caching/store/substitute.rb +144 -0
- data/lib/graphql/armory/caching/store.rb +34 -0
- data/lib/graphql/armory/caching/tags.rb +39 -0
- data/lib/graphql/armory/caching/values/decision.rb +45 -0
- data/lib/graphql/armory/caching/values/declaration.rb +114 -0
- data/lib/graphql/armory/caching/values/entry.rb +108 -0
- data/lib/graphql/armory/caching/values/key.rb +39 -0
- data/lib/graphql/armory/caching/values/lookup.rb +35 -0
- data/lib/graphql/armory/caching/values/policy.rb +44 -0
- data/lib/graphql/armory/caching/viewer.rb +112 -0
- data/lib/graphql/armory/caching/walk/directives.rb +45 -0
- data/lib/graphql/armory/caching/walk/relay.rb +54 -0
- data/lib/graphql/armory/caching/walk/run.rb +130 -0
- data/lib/graphql/armory/caching/walk/tally.rb +38 -0
- data/lib/graphql/armory/caching/walk.rb +46 -0
- data/lib/graphql/armory/caching.rb +69 -0
- data/lib/graphql/armory/encoder/legacy.rb +14 -0
- data/lib/graphql/armory/encoder/null.rb +14 -1
- data/lib/graphql/armory/encoder/substitute.rb +54 -2
- data/lib/graphql/armory/encoder/versioned.rb +36 -0
- data/lib/graphql/armory/encoder.rb +80 -1
- data/lib/graphql/armory/persisted_queries.rb +8 -1
- data/lib/graphql/armory/rate_limits/cached_charge.rb +43 -0
- data/lib/graphql/armory/rate_limits/concurrency.rb +12 -5
- data/lib/graphql/armory/rate_limits/invalid_queries.rb +3 -2
- data/lib/graphql/armory/rate_limits/points.rb +21 -9
- data/lib/graphql/armory/rate_limits/time.rb +15 -8
- data/lib/graphql/armory/rate_limits.rb +9 -0
- data/lib/graphql/armory/subscriptions/ably/key.rb +49 -0
- data/lib/graphql/armory/subscriptions/ably/publisher.rb +132 -0
- data/lib/graphql/armory/subscriptions/ably/token_request.rb +42 -0
- data/lib/graphql/armory/subscriptions/ably/webhook.rb +96 -0
- data/lib/graphql/armory/subscriptions/ably.rb +126 -0
- data/lib/graphql/armory/subscriptions/audit.rb +92 -0
- data/lib/graphql/armory/subscriptions/controls/dependencies.rb +37 -0
- data/lib/graphql/armory/subscriptions/controls/event_log.rb +30 -0
- data/lib/graphql/armory/subscriptions/controls/id.rb +26 -0
- data/lib/graphql/armory/subscriptions/controls/record.rb +34 -0
- data/lib/graphql/armory/subscriptions/controls/schema.rb +187 -0
- data/lib/graphql/armory/subscriptions/controls/viewer.rb +99 -0
- data/lib/graphql/armory/subscriptions/controls.rb +19 -0
- data/lib/graphql/armory/subscriptions/core/channels.rb +93 -0
- data/lib/graphql/armory/subscriptions/core/clock.rb +40 -0
- data/lib/graphql/armory/subscriptions/core/controls.rb +29 -0
- data/lib/graphql/armory/subscriptions/core/delivery.rb +250 -0
- data/lib/graphql/armory/subscriptions/core/settings.rb +182 -0
- data/lib/graphql/armory/subscriptions/core/trigger.rb +63 -0
- data/lib/graphql/armory/subscriptions/core/viewer.rb +153 -0
- data/lib/graphql/armory/subscriptions/core/write.rb +172 -0
- data/lib/graphql/armory/subscriptions/core.rb +200 -0
- data/lib/graphql/armory/subscriptions/errors.rb +30 -0
- data/lib/graphql/armory/subscriptions/http/null.rb +17 -0
- data/lib/graphql/armory/subscriptions/http/substitute.rb +56 -0
- data/lib/graphql/armory/subscriptions/http.rb +93 -0
- data/lib/graphql/armory/subscriptions/memory_store.rb +115 -0
- data/lib/graphql/armory/subscriptions/pusher/signature.rb +45 -0
- data/lib/graphql/armory/subscriptions/pusher.rb +192 -0
- data/lib/graphql/armory/subscriptions/redis_store/scripts.rb +115 -0
- data/lib/graphql/armory/subscriptions/redis_store.rb +157 -0
- data/lib/graphql/armory/subscriptions/store/null.rb +23 -0
- data/lib/graphql/armory/subscriptions/store/substitute.rb +155 -0
- data/lib/graphql/armory/subscriptions/store.rb +38 -0
- data/lib/graphql/armory/subscriptions/topic.rb +253 -0
- data/lib/graphql/armory/subscriptions/transport/null.rb +28 -0
- data/lib/graphql/armory/subscriptions/transport/substitute.rb +150 -0
- data/lib/graphql/armory/subscriptions/transport.rb +41 -0
- data/lib/graphql/armory/subscriptions/values/capabilities.rb +50 -0
- data/lib/graphql/armory/subscriptions/values/message.rb +31 -0
- data/lib/graphql/armory/subscriptions/values/outcome.rb +42 -0
- data/lib/graphql/armory/subscriptions/values/record.rb +176 -0
- data/lib/graphql/armory/subscriptions/webhook_app.rb +31 -0
- data/lib/graphql/armory/subscriptions.rb +33 -0
- data/lib/graphql/armory/telemetry.rb +8 -4
- data/lib/graphql/armory/version.rb +1 -1
- data/lib/graphql/armory/versioning/audit.rb +1 -9
- data/lib/graphql/armory/versioning/integration.rb +60 -2
- data/lib/graphql/armory.rb +2 -0
- data/lib/tasks/graphql_armory.rake +9 -0
- metadata +110 -1
|
@@ -127,6 +127,7 @@ module GraphQL
|
|
|
127
127
|
end
|
|
128
128
|
|
|
129
129
|
def visible?(context)
|
|
130
|
+
Integration.refuse_late_member(self) unless defined?(@armory_lifecycle)
|
|
130
131
|
Integration.refuse_twin_overlap(self, armory_twins, context, field: true)
|
|
131
132
|
return false unless super
|
|
132
133
|
|
|
@@ -152,6 +153,7 @@ module GraphQL
|
|
|
152
153
|
EXECUTABLE = %i[QUERY MUTATION SUBSCRIPTION FIELD FRAGMENT_DEFINITION FRAGMENT_SPREAD INLINE_FRAGMENT VARIABLE_DEFINITION].freeze
|
|
153
154
|
|
|
154
155
|
def visible?(context)
|
|
156
|
+
Integration.refuse_late_member(self) unless defined?(@armory_lifecycle)
|
|
155
157
|
Integration.refuse_twin_overlap(self, armory_twins, context)
|
|
156
158
|
return false unless super
|
|
157
159
|
|
|
@@ -229,6 +231,7 @@ module GraphQL
|
|
|
229
231
|
include Member
|
|
230
232
|
|
|
231
233
|
def visible?(context)
|
|
234
|
+
Integration.refuse_late_member(self) unless defined?(@armory_lifecycle)
|
|
232
235
|
Integration.refuse_twin_overlap(self, armory_twins, context)
|
|
233
236
|
return false unless super
|
|
234
237
|
return true unless armory_versioned?
|
|
@@ -319,6 +322,7 @@ module GraphQL
|
|
|
319
322
|
attr_reader :armory_lifecycle
|
|
320
323
|
|
|
321
324
|
def visible?(context)
|
|
325
|
+
Integration.refuse_late_member(self) unless defined?(@armory_lifecycle)
|
|
322
326
|
return false unless super
|
|
323
327
|
return true if Lifecycle::EVERYWHERE.equal?(@armory_lifecycle)
|
|
324
328
|
|
|
@@ -608,6 +612,7 @@ module GraphQL
|
|
|
608
612
|
types = nil
|
|
609
613
|
walked = -> { types ||= definitions(schema) }
|
|
610
614
|
checks = []
|
|
615
|
+
checks << -> { refuse_late_base(walked.(), schema.directives.values) }
|
|
611
616
|
checks << -> { refuse_abstract_loads(walked.()) } if abstract_loads
|
|
612
617
|
checks << -> { refuse_late_bound_twins(walked.(), schema.directives.values) } if late_bound_count.positive?
|
|
613
618
|
checks << -> { refuse_subscription_twins(schema) }
|
|
@@ -756,10 +761,62 @@ module GraphQL
|
|
|
756
761
|
directive.subclasses.reduce(directive.locations) { |locations, subclass| locations | directive_locations(subclass) }
|
|
757
762
|
end
|
|
758
763
|
|
|
764
|
+
# A member built before its class included `Base` has none (`refuse_late_base` refuses the schema); the audit reads it
|
|
765
|
+
# as living everywhere, which is what it could declare, so it reports that refusal instead of failing.
|
|
759
766
|
def self.lifecycle_of(member)
|
|
760
|
-
member.respond_to?(:armory_lifecycle)
|
|
767
|
+
(member.armory_lifecycle if member.respond_to?(:armory_lifecycle)) || Lifecycle::EVERYWHERE
|
|
761
768
|
end
|
|
762
769
|
|
|
770
|
+
# A type and everything versioned under it: its fields at every level, their arguments (or an input object's),
|
|
771
|
+
# an enum's values and its type memberships.
|
|
772
|
+
def self.members_of(type)
|
|
773
|
+
members = [type, *Armory::Definitions.fields_at_every_level(type), *arguments_in(type)]
|
|
774
|
+
members.concat(type.all_enum_value_definitions) if type.kind.enum?
|
|
775
|
+
members.concat(type.type_memberships) if type.kind.union?
|
|
776
|
+
members.concat(type.interface_type_memberships.select { |membership| membership.respond_to?(:visible?) }) if type.respond_to?(:interface_type_memberships)
|
|
777
|
+
members
|
|
778
|
+
end
|
|
779
|
+
|
|
780
|
+
LATE_BASE_LISTED = 5
|
|
781
|
+
|
|
782
|
+
# A field, argument, enum value or membership built before its class included `Base` has no lifecycle: its
|
|
783
|
+
# `visible?` would fail on every query. Refused with the members and what to do.
|
|
784
|
+
def self.refuse_late_base(types, directives)
|
|
785
|
+
members = types.flat_map { |type| members_of(type) } + directives.flat_map(&:all_argument_definitions)
|
|
786
|
+
late = members.uniq.select do |member|
|
|
787
|
+
(member.is_a?(Member) || member.is_a?(Membership)) && !member.instance_variable_defined?(:@armory_lifecycle)
|
|
788
|
+
end
|
|
789
|
+
return if late.empty?
|
|
790
|
+
|
|
791
|
+
names = late.first(LATE_BASE_LISTED).map { |member| late_base_name(member) }
|
|
792
|
+
names << "and #{late.size - LATE_BASE_LISTED} more" if late.size > LATE_BASE_LISTED
|
|
793
|
+
raise ConfigurationError, "#{names.join(", ")}: #{late_base_message(late_base_name(late.first, located: false))}"
|
|
794
|
+
end
|
|
795
|
+
|
|
796
|
+
# The same refusal from the member itself, for the paths that never run the schema checks: `Schema::Visibility`'s
|
|
797
|
+
# preload of named profiles, and a member built after the schema already ran a query (the checks are remembered).
|
|
798
|
+
def self.refuse_late_member(member)
|
|
799
|
+
raise ConfigurationError, late_base_message(late_base_name(member, located: false))
|
|
800
|
+
end
|
|
801
|
+
|
|
802
|
+
def self.late_base_message(name)
|
|
803
|
+
"the class of #{name} included GraphQL::Armory::Versioning::Base after #{name} was defined, so it has no lifecycle " \
|
|
804
|
+
"and every query would fail. include Base in the class before defining any field, argument or enum value with it " \
|
|
805
|
+
"(your base field, argument and enum value classes)"
|
|
806
|
+
end
|
|
807
|
+
private_class_method :late_base_message
|
|
808
|
+
|
|
809
|
+
def self.late_base_name(member, located: true)
|
|
810
|
+
name = if member.is_a?(Membership)
|
|
811
|
+
"#{member.abstract_type.graphql_name} membership of #{member.object_type.graphql_name}"
|
|
812
|
+
else
|
|
813
|
+
member.path
|
|
814
|
+
end
|
|
815
|
+
location = located && Location.of(member)
|
|
816
|
+
location ? "#{name} (#{location})" : name
|
|
817
|
+
end
|
|
818
|
+
private_class_method :late_base_name
|
|
819
|
+
|
|
763
820
|
def self.versioned_type?(type) = !Lifecycle::EVERYWHERE.equal?(lifecycle_of(type))
|
|
764
821
|
|
|
765
822
|
# A member is versioned by its own lifecycle, or, for an argument or input field, by its type's.
|
|
@@ -809,7 +866,8 @@ module GraphQL
|
|
|
809
866
|
profiles = schema.armory_versioning_profiles
|
|
810
867
|
super(schema, query_string, **profiles.options(schema.armory_versioning, options))
|
|
811
868
|
|
|
812
|
-
|
|
869
|
+
# Neutral for response caching: the resolved label is in its key. An app's own read of the raw value is not.
|
|
870
|
+
decision = Caching.neutral(context) { schema.armory_versioning.(context) }
|
|
813
871
|
profiles.check(self, decision)
|
|
814
872
|
store = context.namespace(:armory)
|
|
815
873
|
return store[:version] = decision.version unless decision.refused?
|
data/lib/graphql/armory.rb
CHANGED
|
@@ -18,4 +18,6 @@ require "graphql/armory/persisted_queries"
|
|
|
18
18
|
require "graphql/armory/rate_limits"
|
|
19
19
|
require "graphql/armory/keyset"
|
|
20
20
|
require "graphql/armory/versioning"
|
|
21
|
+
require "graphql/armory/caching"
|
|
22
|
+
require "graphql/armory/subscriptions"
|
|
21
23
|
require "graphql/armory/railtie" if defined?(::Rails::Railtie)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require "graphql/armory"
|
|
4
|
+
require "graphql/armory/caching/audit"
|
|
4
5
|
|
|
5
6
|
namespace :graphql_armory do
|
|
6
7
|
# The Railtie loads this before Rails defines :environment, so the action looks it up when it runs. An app may also load this by hand.
|
|
@@ -35,4 +36,12 @@ namespace :graphql_armory do
|
|
|
35
36
|
task :diff, [:schema, :from, :to], &diff_action
|
|
36
37
|
end
|
|
37
38
|
end
|
|
39
|
+
|
|
40
|
+
namespace :cache do
|
|
41
|
+
cache_action = GraphQL::Armory::Caching::Audit::Command::RAKE_ACTION
|
|
42
|
+
unless Rake::Task.task_defined?("graphql_armory:cache:audit") && Rake::Task["graphql_armory:cache:audit"].actions.include?(cache_action)
|
|
43
|
+
desc "Lists every cache declaration that could serve one viewer's answer to another, and every declaration's reason (exit 1 on problems)"
|
|
44
|
+
task :audit, [:schema], &cache_action
|
|
45
|
+
end
|
|
46
|
+
end
|
|
38
47
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: graphql-armory
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.0.
|
|
4
|
+
version: 0.1.0.pre15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Israel
|
|
@@ -47,6 +47,8 @@ files:
|
|
|
47
47
|
- docs/keyset-connections.md
|
|
48
48
|
- docs/persisted-queries.md
|
|
49
49
|
- docs/rate-limiting.md
|
|
50
|
+
- docs/response-caching.md
|
|
51
|
+
- docs/subscriptions.md
|
|
50
52
|
- docs/telemetry.md
|
|
51
53
|
- docs/versioning.md
|
|
52
54
|
- exe/graphql-armory-publish
|
|
@@ -99,6 +101,68 @@ files:
|
|
|
99
101
|
- lib/graphql/armory/authorization/rspec.rb
|
|
100
102
|
- lib/graphql/armory/authorization/rule.rb
|
|
101
103
|
- lib/graphql/armory/authorization/scope.rb
|
|
104
|
+
- lib/graphql/armory/caching.rb
|
|
105
|
+
- lib/graphql/armory/caching/audit.rb
|
|
106
|
+
- lib/graphql/armory/caching/audit/command.rb
|
|
107
|
+
- lib/graphql/armory/caching/audit/context_class.rb
|
|
108
|
+
- lib/graphql/armory/caching/audit/declarations.rb
|
|
109
|
+
- lib/graphql/armory/caching/audit/own_checks.rb
|
|
110
|
+
- lib/graphql/armory/caching/audit/public_rules.rb
|
|
111
|
+
- lib/graphql/armory/caching/audit/report.rb
|
|
112
|
+
- lib/graphql/armory/caching/base.rb
|
|
113
|
+
- lib/graphql/armory/caching/canonical.rb
|
|
114
|
+
- lib/graphql/armory/caching/charge.rb
|
|
115
|
+
- lib/graphql/armory/caching/codec.rb
|
|
116
|
+
- lib/graphql/armory/caching/context_methods.rb
|
|
117
|
+
- lib/graphql/armory/caching/controls.rb
|
|
118
|
+
- lib/graphql/armory/caching/controls/app_schema.rb
|
|
119
|
+
- lib/graphql/armory/caching/controls/context.rb
|
|
120
|
+
- lib/graphql/armory/caching/controls/operations.rb
|
|
121
|
+
- lib/graphql/armory/caching/controls/schema.rb
|
|
122
|
+
- lib/graphql/armory/caching/controls/store.rb
|
|
123
|
+
- lib/graphql/armory/caching/controls/walk_schema.rb
|
|
124
|
+
- lib/graphql/armory/caching/digester.rb
|
|
125
|
+
- lib/graphql/armory/caching/errors.rb
|
|
126
|
+
- lib/graphql/armory/caching/gate.rb
|
|
127
|
+
- lib/graphql/armory/caching/gate/admission.rb
|
|
128
|
+
- lib/graphql/armory/caching/gate/signals.rb
|
|
129
|
+
- lib/graphql/armory/caching/gate/store_check.rb
|
|
130
|
+
- lib/graphql/armory/caching/gate/substitute.rb
|
|
131
|
+
- lib/graphql/armory/caching/integration.rb
|
|
132
|
+
- lib/graphql/armory/caching/integration/guard.rb
|
|
133
|
+
- lib/graphql/armory/caching/integration/install.rb
|
|
134
|
+
- lib/graphql/armory/caching/integration/query.rb
|
|
135
|
+
- lib/graphql/armory/caching/keyer.rb
|
|
136
|
+
- lib/graphql/armory/caching/memory_store.rb
|
|
137
|
+
- lib/graphql/armory/caching/nulls.rb
|
|
138
|
+
- lib/graphql/armory/caching/purge.rb
|
|
139
|
+
- lib/graphql/armory/caching/record_keys.rb
|
|
140
|
+
- lib/graphql/armory/caching/recorder.rb
|
|
141
|
+
- lib/graphql/armory/caching/recorder/context.rb
|
|
142
|
+
- lib/graphql/armory/caching/recorder/log.rb
|
|
143
|
+
- lib/graphql/armory/caching/recorder/null.rb
|
|
144
|
+
- lib/graphql/armory/caching/recorder/shared_writes.rb
|
|
145
|
+
- lib/graphql/armory/caching/recorder/substitute.rb
|
|
146
|
+
- lib/graphql/armory/caching/redis_store.rb
|
|
147
|
+
- lib/graphql/armory/caching/redis_store/scripts.rb
|
|
148
|
+
- lib/graphql/armory/caching/rspec.rb
|
|
149
|
+
- lib/graphql/armory/caching/schema_identity.rb
|
|
150
|
+
- lib/graphql/armory/caching/store.rb
|
|
151
|
+
- lib/graphql/armory/caching/store/null.rb
|
|
152
|
+
- lib/graphql/armory/caching/store/substitute.rb
|
|
153
|
+
- lib/graphql/armory/caching/tags.rb
|
|
154
|
+
- lib/graphql/armory/caching/values/decision.rb
|
|
155
|
+
- lib/graphql/armory/caching/values/declaration.rb
|
|
156
|
+
- lib/graphql/armory/caching/values/entry.rb
|
|
157
|
+
- lib/graphql/armory/caching/values/key.rb
|
|
158
|
+
- lib/graphql/armory/caching/values/lookup.rb
|
|
159
|
+
- lib/graphql/armory/caching/values/policy.rb
|
|
160
|
+
- lib/graphql/armory/caching/viewer.rb
|
|
161
|
+
- lib/graphql/armory/caching/walk.rb
|
|
162
|
+
- lib/graphql/armory/caching/walk/directives.rb
|
|
163
|
+
- lib/graphql/armory/caching/walk/relay.rb
|
|
164
|
+
- lib/graphql/armory/caching/walk/run.rb
|
|
165
|
+
- lib/graphql/armory/caching/walk/tally.rb
|
|
102
166
|
- lib/graphql/armory/definitions.rb
|
|
103
167
|
- lib/graphql/armory/encoder.rb
|
|
104
168
|
- lib/graphql/armory/encoder/default.rb
|
|
@@ -122,6 +186,7 @@ files:
|
|
|
122
186
|
- lib/graphql/armory/railtie.rb
|
|
123
187
|
- lib/graphql/armory/rate_limits.rb
|
|
124
188
|
- lib/graphql/armory/rate_limits/analysis_guard.rb
|
|
189
|
+
- lib/graphql/armory/rate_limits/cached_charge.rb
|
|
125
190
|
- lib/graphql/armory/rate_limits/clock.rb
|
|
126
191
|
- lib/graphql/armory/rate_limits/concurrency.rb
|
|
127
192
|
- lib/graphql/armory/rate_limits/controls.rb
|
|
@@ -131,6 +196,50 @@ files:
|
|
|
131
196
|
- lib/graphql/armory/rate_limits/redis_store.rb
|
|
132
197
|
- lib/graphql/armory/rate_limits/store.rb
|
|
133
198
|
- lib/graphql/armory/rate_limits/time.rb
|
|
199
|
+
- lib/graphql/armory/subscriptions.rb
|
|
200
|
+
- lib/graphql/armory/subscriptions/ably.rb
|
|
201
|
+
- lib/graphql/armory/subscriptions/ably/key.rb
|
|
202
|
+
- lib/graphql/armory/subscriptions/ably/publisher.rb
|
|
203
|
+
- lib/graphql/armory/subscriptions/ably/token_request.rb
|
|
204
|
+
- lib/graphql/armory/subscriptions/ably/webhook.rb
|
|
205
|
+
- lib/graphql/armory/subscriptions/audit.rb
|
|
206
|
+
- lib/graphql/armory/subscriptions/controls.rb
|
|
207
|
+
- lib/graphql/armory/subscriptions/controls/dependencies.rb
|
|
208
|
+
- lib/graphql/armory/subscriptions/controls/event_log.rb
|
|
209
|
+
- lib/graphql/armory/subscriptions/controls/id.rb
|
|
210
|
+
- lib/graphql/armory/subscriptions/controls/record.rb
|
|
211
|
+
- lib/graphql/armory/subscriptions/controls/schema.rb
|
|
212
|
+
- lib/graphql/armory/subscriptions/controls/viewer.rb
|
|
213
|
+
- lib/graphql/armory/subscriptions/core.rb
|
|
214
|
+
- lib/graphql/armory/subscriptions/core/channels.rb
|
|
215
|
+
- lib/graphql/armory/subscriptions/core/clock.rb
|
|
216
|
+
- lib/graphql/armory/subscriptions/core/controls.rb
|
|
217
|
+
- lib/graphql/armory/subscriptions/core/delivery.rb
|
|
218
|
+
- lib/graphql/armory/subscriptions/core/settings.rb
|
|
219
|
+
- lib/graphql/armory/subscriptions/core/trigger.rb
|
|
220
|
+
- lib/graphql/armory/subscriptions/core/viewer.rb
|
|
221
|
+
- lib/graphql/armory/subscriptions/core/write.rb
|
|
222
|
+
- lib/graphql/armory/subscriptions/errors.rb
|
|
223
|
+
- lib/graphql/armory/subscriptions/http.rb
|
|
224
|
+
- lib/graphql/armory/subscriptions/http/null.rb
|
|
225
|
+
- lib/graphql/armory/subscriptions/http/substitute.rb
|
|
226
|
+
- lib/graphql/armory/subscriptions/memory_store.rb
|
|
227
|
+
- lib/graphql/armory/subscriptions/pusher.rb
|
|
228
|
+
- lib/graphql/armory/subscriptions/pusher/signature.rb
|
|
229
|
+
- lib/graphql/armory/subscriptions/redis_store.rb
|
|
230
|
+
- lib/graphql/armory/subscriptions/redis_store/scripts.rb
|
|
231
|
+
- lib/graphql/armory/subscriptions/store.rb
|
|
232
|
+
- lib/graphql/armory/subscriptions/store/null.rb
|
|
233
|
+
- lib/graphql/armory/subscriptions/store/substitute.rb
|
|
234
|
+
- lib/graphql/armory/subscriptions/topic.rb
|
|
235
|
+
- lib/graphql/armory/subscriptions/transport.rb
|
|
236
|
+
- lib/graphql/armory/subscriptions/transport/null.rb
|
|
237
|
+
- lib/graphql/armory/subscriptions/transport/substitute.rb
|
|
238
|
+
- lib/graphql/armory/subscriptions/values/capabilities.rb
|
|
239
|
+
- lib/graphql/armory/subscriptions/values/message.rb
|
|
240
|
+
- lib/graphql/armory/subscriptions/values/outcome.rb
|
|
241
|
+
- lib/graphql/armory/subscriptions/values/record.rb
|
|
242
|
+
- lib/graphql/armory/subscriptions/webhook_app.rb
|
|
134
243
|
- lib/graphql/armory/telemetry.rb
|
|
135
244
|
- lib/graphql/armory/version.rb
|
|
136
245
|
- lib/graphql/armory/versioning.rb
|