Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ld
go-ld-prime
Commits
c46ee644
Commit
c46ee644
authored
Jul 27, 2020
by
Eric Myhre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix lookup of field symbol overrides.
parent
fa013972
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
schema/gen/go/adjunctCfg.go
schema/gen/go/adjunctCfg.go
+1
-1
No files found.
schema/gen/go/adjunctCfg.go
View file @
c46ee644
...
...
@@ -52,7 +52,7 @@ func (cfg *AdjunctCfg) TypeSymbol(t schema.Type) string {
}
func
(
cfg
*
AdjunctCfg
)
FieldSymbolLower
(
f
schema
.
StructField
)
string
{
if
x
,
ok
:=
cfg
.
FieldSymbolLowerOverrides
[
FieldTuple
{
f
.
Type
()
.
Name
(),
f
.
Name
()}];
ok
{
if
x
,
ok
:=
cfg
.
FieldSymbolLowerOverrides
[
FieldTuple
{
f
.
Parent
()
.
Name
(),
f
.
Name
()}];
ok
{
return
x
}
return
f
.
Name
()
// presumed already lower
...
...
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