File tree 1 file changed +4
-4
lines changed
src/app/codegen-data-model-provider
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -331,15 +331,15 @@ DataModel::ActionReturnStatus CodegenDataModelProvider::WriteAttribute(const Dat
331
331
if (checkAcl && request.previousSuccessPath .has_value ())
332
332
{
333
333
// NOTE: explicit cast/check only for attribute path and nothing else.
334
- //
334
+ //
335
335
// In particular `request.path` is a DATA path (contains a list index)
336
- // and we do not want request.previousSuccessPath to be auto-cast to a
336
+ // and we do not want request.previousSuccessPath to be auto-cast to a
337
337
// data path with a empty list and fail the compare.
338
338
//
339
339
// This could be `request.previousSuccessPath != request.path` (where order
340
- // is important) however that would seem more brittle (relying that a != b
340
+ // is important) however that would seem more brittle (relying that a != b
341
341
// behaves differently than b != a due to casts). Overall Data paths are not
342
- // the same as attribute paths.
342
+ // the same as attribute paths.
343
343
//
344
344
// Also note that Concrete path have a mExpanded that is not used in compares.
345
345
const ConcreteAttributePath & attributePathA = request.path ;
You can’t perform that action at this time.
0 commit comments