Skip to content

0.1.0

Choose a tag to compare

@Guichaguri Guichaguri released this 23 Nov 20:45
· 47 commits to main since this release
  • Added ensureEqCondition function
    • It's similar to ensureCondition but takes any object containing fields and values and generates the proper where conditions.
  • Added options to CrudRequestParser that allows disabling individual parameters.
    • This is useful if you want to take CrudRequests in "get one" operations and not allow where conditions.
  • Added field validation to TypeORM.
    • This allows you to either throw errors or ignore fields that are not in the entity.
    • This also fixes SQL injections in order
  • Fixed targeting relation fields in where and order on TypeORM.