We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfce25f commit bb4cb0dCopy full SHA for bb4cb0d
test/type_construction.jl
@@ -247,6 +247,18 @@ end
247
248
@test my_object.my_sub_object.my_scalar_2 == 3.0
249
250
+ # create with global client
251
+ global_graphql_client(client)
252
+ my_sub_object = GraphQLClient.create_introspected_struct(
253
+ "MySubObject",
254
+ Dict("my_scalar_2" => 3.0)
255
+ )
256
+ my_object = GraphQLClient.create_introspected_struct(
257
+ "MyObject",
258
+ Dict("my_scalar" => "string", "my_sub_object" => my_sub_object)
259
260
+ @test my_object.my_sub_object.my_scalar_2 == 3.0
261
+
262
# Only can create for mutable
263
GraphQLClient.introspect_object(client, "MyObject"; force=true, mutable=false)
264
0 commit comments