Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
singingwolfboy committed Nov 8, 2019
1 parent 8cb1e0a commit e24b2a0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
3 changes: 0 additions & 3 deletions src/PgManyToManyRelationFilterPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ function createJunctionConditionType(
const junctionTableTypeName = inflection.tableType(junctionTable);
const rightTableTypeName = inflection.tableType(rightTable);

if (leftTableType.name == "Team") {
debugger;
}
return newWithHooks(
GraphQLInputObjectType,
{
Expand Down
20 changes: 11 additions & 9 deletions src/PgManyToManyRelationInflectionPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,17 @@ module.exports = function PgManyToManyRelationInflectionPlugin(builder) {
);
},
manyToManyRelationSubqueryName(
leftKeyAttributes,
junctionLeftKeyAttributes,
junctionRightKeyAttributes,
rightKeyAttributes,
junctionTable,
rightTable,
junctionLeftConstraint,
junctionRightConstraint,
leftTableTypeName
_leftKeyAttributes,
_junctionLeftKeyAttributes,
_junctionRightKeyAttributes,
_rightKeyAttributes,
junctionTable
/*
_rightTable,
_junctionLeftConstraint,
_junctionRightConstraint,
_leftTableTypeName
*/
) {
return `many-to-many-subquery-by-${this._singularizedTableName(
junctionTable
Expand Down

0 comments on commit e24b2a0

Please sign in to comment.