Skip to content

Commit

Permalink
Drop now unused Ord for TypedField.
Browse files Browse the repository at this point in the history
It was only used to put `TypedField` into sets which we no longer do after the previous commit.
  • Loading branch information
aljungberg committed Nov 28, 2022
1 parent 44b25f5 commit 0e16f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PostgREST/Plan/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ data TypedField = TypedField
{ tfFieldName :: FieldName
, tfJsonPath :: JsonPath
, tfIRType :: Text
} deriving (Eq, Ord)
} deriving (Eq)

resolveField :: Field -> Text -> TypedField
resolveField (fieldName, jsonPath) = TypedField fieldName jsonPath
Expand Down

0 comments on commit 0e16f43

Please sign in to comment.