diff --git a/crates/sui-graphql-rpc/schema/current_progress_schema.graphql b/crates/sui-graphql-rpc/schema/current_progress_schema.graphql index 6b9f24871f86d..779e8a91421d9 100644 --- a/crates/sui-graphql-rpc/schema/current_progress_schema.graphql +++ b/crates/sui-graphql-rpc/schema/current_progress_schema.graphql @@ -1485,10 +1485,11 @@ type ObjectEdge { input ObjectFilter { """ - This field is used to specify the type of objects that should be include in the query + This field is used to specify the type of objects that should be included in the query results. - Type can be filtered by their package, package::module, or their fuly qualified type name. + Objects can be filtered by their type's package, package::module, or their fully qualified + type name. Generic types can be queried by either the generic type name, e.g. `0x2::coin::Coin`, or by the full type name, such as `0x2::coin::Coin<0x2::sui::SUI>`. diff --git a/crates/sui-graphql-rpc/schema/draft_target_schema.graphql b/crates/sui-graphql-rpc/schema/draft_target_schema.graphql index 103ac7cb43ae7..6bcf205558c6f 100644 --- a/crates/sui-graphql-rpc/schema/draft_target_schema.graphql +++ b/crates/sui-graphql-rpc/schema/draft_target_schema.graphql @@ -285,8 +285,8 @@ input ObjectFilter { # This field is used to specify the type of objects that should be # include in the query results. # - # Type can be filtered by their package, package::module, or their - # fuly qualified type name. + # Objects can be filtered by their type's package, package::module, + # or their fully qualified type name. # # Generic types can be queried by either the generic type name, e.g. # `0x2::coin::Coin`, or by the full type name, such as @@ -330,8 +330,8 @@ input EventFilter { # This field is used to specify the type of event emitted. # - # Type can be filtered by their package, package::module, or their - # fuly qualified type name. + # Events can be filtered by their type's package, package::module, + # or their fully qualified type name. # # Generic types can be queried by either the generic type name, e.g. # `0x2::coin::Coin`, or by the full type name, such as @@ -383,8 +383,8 @@ input TransactionBlockFilter { input DynamicFieldFilter { # Filter the type of dynamic field name. # - # Type can be filtered by their package, package::module, or their - # fuly qualified type name. + # Names can be filtered by their type's package, package::module, or + # their fully qualified type name. # # Generic types can be queried by either the generic type name, e.g. # `0x2::coin::Coin`, or by the full type name, such as @@ -393,8 +393,8 @@ input DynamicFieldFilter { # Filter the type of dynamic field value. # - # Type can be filtered by their package, package::module, or their - # fuly qualified type name. + # Values can be filtered by their type's package, package::module, + # or their fully qualified type name. # # Generic types can be queried by either the generic type name, e.g. # `0x2::coin::Coin`, or by the full type name, such as diff --git a/crates/sui-graphql-rpc/src/types/object.rs b/crates/sui-graphql-rpc/src/types/object.rs index 054860728a995..47f961abd5ea3 100644 --- a/crates/sui-graphql-rpc/src/types/object.rs +++ b/crates/sui-graphql-rpc/src/types/object.rs @@ -41,10 +41,11 @@ pub(crate) enum ObjectKind { #[derive(InputObject, Default, Clone)] pub(crate) struct ObjectFilter { - /// This field is used to specify the type of objects that should be include in the query + /// This field is used to specify the type of objects that should be included in the query /// results. /// - /// Type can be filtered by their package, package::module, or their fuly qualified type name. + /// Objects can be filtered by their type's package, package::module, or their fully qualified + /// type name. /// /// Generic types can be queried by either the generic type name, e.g. `0x2::coin::Coin`, or by /// the full type name, such as `0x2::coin::Coin<0x2::sui::SUI>`. diff --git a/crates/sui-graphql-rpc/tests/snapshots/snapshot_tests__schema_sdl_export.snap b/crates/sui-graphql-rpc/tests/snapshots/snapshot_tests__schema_sdl_export.snap index 01d252895ecdc..3fa88d44c06da 100644 --- a/crates/sui-graphql-rpc/tests/snapshots/snapshot_tests__schema_sdl_export.snap +++ b/crates/sui-graphql-rpc/tests/snapshots/snapshot_tests__schema_sdl_export.snap @@ -1489,10 +1489,11 @@ type ObjectEdge { input ObjectFilter { """ - This field is used to specify the type of objects that should be include in the query + This field is used to specify the type of objects that should be included in the query results. - Type can be filtered by their package, package::module, or their fuly qualified type name. + Objects can be filtered by their type's package, package::module, or their fully qualified + type name. Generic types can be queried by either the generic type name, e.g. `0x2::coin::Coin`, or by the full type name, such as `0x2::coin::Coin<0x2::sui::SUI>`.