I’m new to GraphQL and I want to use it from the following documentation section: Query synthax
Here is my code:
query marketplaceJobPostings(
$pagination_eq: MarketplaceJobFilter,
$searchExpression_eq: MarketplaceJobFilter
) {
marketplaceJobPostings(
marketPlaceJobFilter: $pagination_eq
marketPlaceJobFilter: $searchExpression_eq
) {
totalCount
edges {
node {
amount {
rawValue
}
ciphertext
skills {
name
}
description
title
job {
contractTerms {
contractType
}
}
}
}
}
}
I’m getting the following error:
{
"errors": [
{
"message": "Validation error (DuplicateArgumentNames@[marketplaceJobPostings]) : There can be only one argument named 'marketPlaceJobFilter'",
"locations": [
{
"line": 5,
"column": 3
}
],
"extensions": {
"classification": "ValidationError"
}
}
]
}
Can anyone explain to me please what is wrong and why I cannot pass 2 arguments with the type marketPlaceJobFilter?