Skip to content

Commit

Permalink
chore: fix incorrect return of resolveFieldReference
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshusinghs committed Nov 13, 2024
1 parent 9bdd351 commit 16ef664
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,6 @@ private fun <S> MongoshBackend.resolveFieldReference(fieldRef: HasFieldReference
when (val ref = fieldRef.reference) {
is FromSchema -> registerConstant(ref.fieldName)
is Unknown -> registerVariable("field", BsonAny)
else -> {
// Do nothing for now
}
}

private fun <S> MongoshBackend.emitCollectionReference(collRef: HasCollectionReference<S>?): MongoshBackend {
Expand Down

0 comments on commit 16ef664

Please sign in to comment.