Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3b96d441
Commit
3b96d441
authored
Mar 04, 2021
by
Alex Kalderimis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only pass kwargs to Schema::Field.new
parent
9ebbc4e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/graphql/types/base_field.rb
app/graphql/types/base_field.rb
+2
-2
No files found.
app/graphql/types/base_field.rb
View file @
3b96d441
...
...
@@ -9,7 +9,7 @@ module Types
DEFAULT_COMPLEXITY
=
1
def
initialize
(
*
args
,
*
*
kwargs
,
&
block
)
def
initialize
(
**
kwargs
,
&
block
)
@calls_gitaly
=
!!
kwargs
.
delete
(
:calls_gitaly
)
@constant_complexity
=
!!
kwargs
[
:complexity
]
@requires_argument
=
!!
kwargs
.
delete
(
:requires_argument
)
...
...
@@ -18,7 +18,7 @@ module Types
kwargs
=
check_feature_flag
(
kwargs
)
kwargs
=
gitlab_deprecation
(
kwargs
)
super
(
*
args
,
*
*
kwargs
,
&
block
)
super
(
**
kwargs
,
&
block
)
end
def
requires_argument?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment