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

I don't like the word "flatten" #102

Open
ryanjjung opened this issue Feb 11, 2025 · 0 comments
Open

I don't like the word "flatten" #102

ryanjjung opened this issue Feb 11, 2025 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ryanjjung
Copy link
Collaborator

Plain and simple, that's what that function does, but it's not how I want to think about it. This should just be a cached property called resources. It makes so much more sense that you have a single Resource and a collection of resources in a ThunderbirdCompositeResource or in a ThunderbirdPulumiProject.

Let's maybe keep/deprecate the flatten function, replacing it with a cached property called resources.

@ryanjjung ryanjjung added the bug Something isn't working label Feb 11, 2025
@ryanjjung ryanjjung added this to the v0.0.12 milestone Feb 11, 2025
@ryanjjung ryanjjung self-assigned this Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant