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

[TASK] Prefer bind instead of copy #315

Open
Tracked by #252
taorepoara opened this issue Nov 22, 2024 · 0 comments
Open
Tracked by #252

[TASK] Prefer bind instead of copy #315

taorepoara opened this issue Nov 22, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@taorepoara
Copy link
Member

taorepoara commented Nov 22, 2024

What should be done

Adapt the linter to check if copied resources are also copied to another stage from the current builder.

If they are not create a warning explaining the user to prefer binding those resources.

Technical recommandation

Create unit tests corresponding to this use case first.

Some existing unit tests might need to be adapted since they might use copy instead of bind for now.

Is this task linked with any other ?

#252

Huly®: DOFIG-312

@taorepoara taorepoara changed the title Use of copy in a builder when the copied resources are not used in another stage. Prefer bind [TASK] Prefer bind instead of copy Nov 22, 2024
@taorepoara taorepoara added this to Lenra Nov 22, 2024
@github-project-automation github-project-automation bot moved this to 🟣 Need triage in Lenra Nov 22, 2024
@taorepoara taorepoara added enhancement New feature or request good first issue Good for newcomers labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: 🟣 Need triage
Development

No branches or pull requests

1 participant