Skip to content

[Bug]: Missing pagination property in dab.draft.schema.json #2333

@mart2n

Description

@mart2n

What happened?

I added the pagination section in the runtime section of the config file as following:

"pagination": { "max-page-size": -1, "default-page-size": 100 }

dab start works fine, but to generate the merged config file I use dab validate and this fails, because the "pagination" section is missing in the dab.draft.schema.json file

Version

1.1.7

What database are you using?

Azure SQL

What hosting model are you using?

Local (including CLI), Container Apps

Which API approach are you accessing DAB through?

GraphQL

Relevant log output

...
Error: > Total schema validation errors: 1
> NoAdditionalPropertiesAllowed: #/runtime.pagination at 41:17


Error: Config is invalid. Check above logs for details.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcliconfigchanges related to configcriCustomer Reported issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions