Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encapsulate CDK Context items in compound objects #65

Open
chelma opened this issue Jun 8, 2023 · 0 comments
Open

Encapsulate CDK Context items in compound objects #65

chelma opened this issue Jun 8, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@chelma
Copy link
Collaborator

chelma commented Jun 8, 2023

Description

When chelma@ was first figuring out how to pass information from the Python side to the CDK side, a pattern emerged of passing a bunch of single-item context values at the highest level of a nested JSON dictionary. This results in increased wiring-work when changes are made to the specific context values, as top-level values require more work to wire than nested-values. We've since moved to using predominantly nested, compound objects since then (see the Capacity Plan, for example).

This task is to move the older, top-level single-item values into compound objects, as makes sense.

Related Tasks

Acceptance Criteria

  • All CDK Context values passed from Python should be in compound objects unless there is justification otherwise.
@chelma chelma added the enhancement New feature or request label Jun 8, 2023
@chelma chelma assigned chelma and unassigned chelma Jun 26, 2023
@chelma chelma changed the title Encapsulate CDK Context items in compoun objects Encapsulate CDK Context items in compound objects Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant