Skip to content

Commit

Permalink
chore: update deps and README
Browse files Browse the repository at this point in the history
  • Loading branch information
minenwerfer committed Nov 26, 2024
1 parent 9c98734 commit a60b041
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 107 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Aeria is a minimalistic framework designed to streamline CRUD-based applications with a type-safe, developer-friendly experience. It ships a thin **MongoDB** abstraction layer and a [Prisma-like DSL](https://github.com/aeria-org/aeria-lang) that serves model definition with support for nested objects, arrays, references, upload fields, and more, making it ideal for applications with complex data structures and relational logic. On top of that a HTTP routing API with very simple bindings is provided to build business logic.

The project was created to offer a more cohesive and straightforward way to create data-centric applications using document databases compared to alternatives like using Mongoose and Express.
The project was created to offer a more cohesive and straightforward way to create data-centric applications using document databases compared to alternatives like Express/Mongoose.

### Quickstart

Expand All @@ -28,6 +28,6 @@ The project was created to offer a more cohesive and straightforward way to crea
### Community

Reach out to learn more about Aeria and know about upcoming features.

k
[![Aeria Server](https://img.shields.io/discord/1218448912185163816.svg?label=Discord&logo=Discord&colorB=7289da&style=for-the-badge)](https://discord.aeria.land/)

4 changes: 2 additions & 2 deletions packages/validation/src/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ export const validateWholeness = (what: Record<string, unknown>, schema: Omit<Js
export const validate = <TWhat, const TJsonSchema extends Property | Description>(
what: TWhat | undefined,
schema: TJsonSchema,
options: ValidateOptions = {} as ValidateOptions,
options: ValidateOptions = {},
) => {
if( what === undefined ) {
return Result.error(makeValidationError({
Expand Down Expand Up @@ -381,7 +381,7 @@ export const validate = <TWhat, const TJsonSchema extends Property | Description
export const validateWithRefs = async <TWhat, const TJsonSchema extends Property | Description>(
what: TWhat | undefined,
schema: TJsonSchema,
options: ValidateOptions = {} as ValidateOptions,
options: ValidateOptions = {},
descriptions?: Record<string, Description>,
) => {
const { error: refsError } = await validateRefs(what, schema, options, descriptions)
Expand Down
Loading

0 comments on commit a60b041

Please sign in to comment.