Skip to content

add dataset value attribute and provider attribute duplication use log#599

Merged
rmpestano merged 2 commits intodatabase-rider:masterfrom
diqksrk:dataset-value-provider-duplication-use-log
Jul 21, 2024
Merged

add dataset value attribute and provider attribute duplication use log#599
rmpestano merged 2 commits intodatabase-rider:masterfrom
diqksrk:dataset-value-provider-duplication-use-log

Conversation

@diqksrk
Copy link
Copy Markdown

@diqksrk diqksrk commented Jun 26, 2024

Hi, @rmpestano

Recently, I have been working on a project using database-rider, and I encountered a situation where I needed to use both the value and provider attributes of the @dataset annotation simultaneously. When I used them together, the execution completed without any logs, leading me to believe that everything was applied correctly. However, upon further inspection, I realized that neither attribute was actually applied.

I had to debug the internal logic step by step to discover that both attributes were not being applied. Some of my team members also went through the same trouble as I did.

Therefore, I believe that logging the following message when both the value and provider attributes of the @dataset annotation are used together would save others from experiencing the same issue. I am sending a PR with this change.

Have a great day.

before
image

after
image

@diqksrk
Copy link
Copy Markdown
Author

diqksrk commented Jun 28, 2024

@rmpestano

Could you please check it?

@rmpestano rmpestano added this to the 1.43.0 milestone Jun 28, 2024
@rmpestano rmpestano merged commit 242c065 into database-rider:master Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants