greyli · GitHub

@greyli linked an issue

Feb 25, 2021

that may be closed by this pull request

Closed

@davidism

@pgjones

@pgjones pgjones changed the title WIP: Nested blueprints Nested blueprints

Apr 7, 2021

@pgjones

pgjones marked this pull request as ready for review

April 7, 2021 19:34

@pgjones

@pgjones

Closed

This allows blueprints to be nested within blueprints via a new
Blueprint.register_blueprint method. This should provide a use case
that has been desired for the past ~10 years.
This works by setting the endpoint name to be the blueprint names,
from parent to child delimeted by "." and then iterating over the
blueprint names in reverse order in the app (from most specific to
most general). This means that the expectation of nesting a blueprint
within a nested blueprint is met.

@davidism

@davidism

@pgjones

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators

Apr 29, 2021

Read the original on github.com ↗