Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
deemount committed Mar 7, 2024
2 parents be646f1 + e176d54 commit ac779e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions reflect.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (ref Reflect) builderType() {
count := 0
index := len(ref.Words)
for _, field := range fields {
if ref.isNotAnonymous(field) && ref.isNotDefinitions(field) && ref.isBpmnBuilder(field) {
if ref.isNotAnonymous(field) && ref.isNotDefinitions(field) && ref.isBpmnReflection(field) {
ref.Builder[count] = field.Name
ref.Words[index] = utils.Split(ref.Builder[count])
count++
Expand Down Expand Up @@ -170,6 +170,6 @@ func (ref *Reflect) isNotAnonymous(field reflect.StructField) bool {
}

// isBpmnBuilder ...
func (ref *Reflect) isBpmnBuilder(field reflect.StructField) bool {
return field.Type.Name() == "Builder"
func (ref *Reflect) isBpmnReflection(field reflect.StructField) bool {
return field.Type.Name() == "Reflection"
}

0 comments on commit ac779e0

Please sign in to comment.