feat(index): $nin and $not operators (#13289)
* feat(index): add $not and $nin operators * logical operator * test * test * types * logical * schema ID * types and $ilike fix * index type
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export const schema = `
|
||||
type Product @Listeners(values: ["product.created", "product.updated", "product.deleted"]) {
|
||||
id: String
|
||||
id: ID
|
||||
title: String
|
||||
created_at: DateTime
|
||||
|
||||
@@ -18,7 +18,7 @@ export const schema = `
|
||||
}
|
||||
|
||||
type ProductVariant @Listeners(values: ["variant.created", "variant.updated", "variant.deleted"]) {
|
||||
id: String
|
||||
id: ID
|
||||
product_id: String
|
||||
sku: String
|
||||
prices: [Price]
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
export const updateRemovedSchema = `
|
||||
type Product @Listeners(values: ["product.created", "product.updated", "product.deleted"]) {
|
||||
id: String
|
||||
id: ID
|
||||
title: String
|
||||
handle: String
|
||||
variants: [ProductVariant]
|
||||
}
|
||||
|
||||
type ProductVariant @Listeners(values: ["variant.created", "variant.updated", "variant.deleted"]) {
|
||||
id: String
|
||||
id: ID
|
||||
product_id: String
|
||||
sku: String
|
||||
description: String
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
export const updatedSchema = `
|
||||
type Product @Listeners(values: ["product.created", "product.updated", "product.deleted"]) {
|
||||
id: String
|
||||
id: ID
|
||||
title: String
|
||||
handle: String
|
||||
deep: InternalNested
|
||||
@@ -17,7 +17,7 @@ export const updatedSchema = `
|
||||
}
|
||||
|
||||
type ProductVariant @Listeners(values: ["variant.created", "variant.updated", "variant.deleted"]) {
|
||||
id: String
|
||||
id: ID
|
||||
product_id: String
|
||||
sku: String
|
||||
prices: [Price]
|
||||
|
||||
Reference in New Issue
Block a user