sync schema with current couper master branch
Closed this issue · 5 comments
malud commented
Ensure that we are up-to-date with the recent implementation.
E.g. TLS block or newly added functions.
johakoch commented
johakoch commented
The tls
blocks have different atributes or nested blocks depending on the parent block:
- In a
backend
block they can have attributes according to https://docs.couper.io/configuration/block/backend_tls#attributes but no nested blocks. - In a
server
block they can have nested blocks according to https://docs.couper.io/configuration/block/server_tls#blocks but no attributes.
I don't think there's currently a way in the extension code to describe this.
@afflerbach Do you have an idea?
afflerbach commented
Different nested blocks should be doable with a solution like the dynamic parents lookup for beta_rate_limit
.
For dynamic attribute completion, there's need for some similar function based logic somewhere around here.
johakoch commented
@afflerbach Looks like passing a function to parents
also works for attributes :-)