Skip to content

Commit

Permalink
chore: use fieldName instead of displayName
Browse files Browse the repository at this point in the history
  • Loading branch information
kmruiz committed Nov 29, 2024
1 parent 4ee0880 commit 3d8cdf7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ object IndexAnalyzer {

private fun <S> Node<S>.allFieldReferences(): List<Pair<String, S>> {
val extractFieldReference = schemaFieldReference<S>()
.map { it.displayName to it.source }
.map { it.fieldName to it.source }
.mapError { NoFieldReference }

val extractAllFieldReferencesWithValues = allNodesWithSchemaFieldReferences<S>()
Expand Down

0 comments on commit 3d8cdf7

Please sign in to comment.