We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8c40d4 commit aca3b6aCopy full SHA for aca3b6a
src/TdbmFluidColumnGraphqlOptions.php
@@ -67,7 +67,7 @@ private function generateFieldAnnotation(): void
67
} else {
68
// If the column is the primary key, let's add an ID type
69
$pk = $this->tdbmFluidColumnOptions->then()->getDbalTable()->getPrimaryKey();
70
- if ($pk !== null && $pk->getColumns() === [$this->fluidColumn->getDbalColumn()->getName()]) {
+ if ($pk !== null && $pk->getUnquotedColumns() === [$this->fluidColumn->getDbalColumn()->getName()]) {
71
$outputType = 'ID';
72
}
73
0 commit comments