Repository navigation
removed ReadOnly field in TransactionAttribute - #9490
Conversation
|
Thanks, @scalalang2. This functionality is achieved via the |
|
Ideally, we should keep this property and mark it |
|
Does attaching the [ReadOnly] attribute ensure that the PerformUpdate() function cannot be called within a transaction context? |
I'll update the code as you described. |
9480019 to
70066af
Compare
There is logic for that, but I am looking at it now and I see that 'readOnly' is not being flowed through into the readOnly parameter on the constructor should not be optional...
|
Thanks for the reply. I'll share the comment with my co-workers. |
Background
Many software engineers uses LLMs(e.g. chatgpt) as learning resources instead of the official documentation.
But as shown in the image below. It is often hallucinated and generates inaccurate information, which may misleads users.
Therefore, I suggest that it would be better to delete an unused field
ReadOnly.Microsoft Reviewers: Open in CodeFlow