Skip to content

Commit 125883a

Browse files
committed
added isPure function
1 parent 84c99be commit 125883a

File tree

3 files changed

+19
-14
lines changed

3 files changed

+19
-14
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"infinityloop-dev/graphpinator": "^1.0-rc15",
15+
"infinityloop-dev/graphpinator": "^1.0-rc16",
1616
"infinityloop-dev/utils": "^2.1.2",
1717
"nette/utils": "^3.2"
1818
},

composer.lock

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/FieldConstraintDirective.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ public function resolveArgumentDefinition(
6969
$this->validateValue($argumentValue->getValue(), $arguments);
7070
}
7171

72+
public static function isPure(): bool
73+
{
74+
return true;
75+
}
76+
7277
abstract protected function validateValue(
7378
\Graphpinator\Value\Value $value,
7479
\Graphpinator\Value\ArgumentValueSet $arguments,

0 commit comments

Comments
 (0)