Skip to content

Commit

Permalink
refact: message cache
Browse files Browse the repository at this point in the history
  • Loading branch information
kaioken committed Jul 31, 2024
1 parent 5278a15 commit daa8a1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion graphql/schemas/Inventory/variant.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ type Variant {
serial_number: String
status: Status
files: [Filesystem]
@cacheRedis
@paginate(
defaultCount: 25
builder: "App\\GraphQL\\Ecosystem\\Queries\\Filesystem\\FilesystemQuery@getFileByGraphType"
)
interactions(visitor: VisitorEntityInput!): Interactions
@method(name: "getEntitySocialInteractions")
user_interactions: Mixed! @method(name: "getUserSocialInteractions") @guard
product: Product
product: Product @cacheRedis
warehouses: [WarehouseVariantRelationship!]!
@hasMany(relation: "variantWarehouses")
attributes: [VariantsAttributes!]! @BelongsToMany(relation: "attributes")
Expand All @@ -36,6 +37,7 @@ type Variant {
resolver: "App\\GraphQL\\Inventory\\Types\\MetadataType@linkedStores"
)
custom_fields: [CustomField!]!
@cacheRedis
@paginate(
defaultCount: 25
builder: "App\\GraphQL\\Ecosystem\\Queries\\CustomFields\\CustomFieldQuery@getAllByGraphType"
Expand Down

0 comments on commit daa8a1c

Please sign in to comment.