1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-10 17:53:36 +02:00
unleash.unleash/src
Nuno Góis fb94138c5c
chore: support full path schemas (#5723)
This backwards compatible change allows us to specify a schema `id`
(full path) which to me feels a bit better than specifying the schema
name as a string, since a literal string is prone to typos.

### Before

```ts
requestBody: createRequestSchema(
    'createResourceSchema',
),
responses: {
    ...getStandardResponses(400, 401, 403, 415),
    201: resourceCreatedResponseSchema(
        'resourceSchema',
    ),
},
```

### After

```ts
requestBody: createRequestSchema(
    createResourceSchema.$id,
),
responses: {
    ...getStandardResponses(400, 401, 403, 415),
    201: resourceCreatedResponseSchema(
        resourceSchema.$id,
    ),
},
```
2023-12-22 08:17:23 +00:00
..
lib chore: support full path schemas (#5723) 2023-12-22 08:17:23 +00:00
mailtemplates fix: conflict email naming bug - cleanup files (#5683) 2023-12-19 16:01:16 +02:00
migrations feat: feedback table (#5721) 2023-12-21 15:34:35 +02:00
test fix: copy last seen at from env (#5713) 2023-12-21 12:37:28 +01:00
migrator.ts
server-dev.ts feat: increase unleash width (#5707) 2023-12-21 08:42:28 +01:00
server.ts