Hello again, and thanks for all your help so far.
I have little thing to propose, nothing very important. I think that in the GET docs the fields that have a default value should be flagged as nullable.
For example:
export const ExternalExpense = Schema.Struct({
amount: Schema.Number,
currency: Schema.String.pipe(
Schema.optionalWith({ default: () => "EUR", nullable: true })
),
date: Schema.Union(Schema.DateFromNumber, Schema.Date),
});
Here you can see that currency has a default value, so it will never be null, however in the docs it appears like this:
