You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Step 3.3.2.5.1 in [[BatchCacheOperations]] currently says:
If any of the values in addedRequests matches requestResponse[0], then:
Throw an "InvalidStateError" exception.
First, this needs to clarify what "matches" means. In theory its logic similar to what is done in [[QueryCache]], but its poorly defined here.
Also, from talking with @jakearchibald on IRC, this should be done for each item in requestResponse as its deleted. So it needs to be moved into the loop in 3.3.2.5.2.
The text was updated successfully, but these errors were encountered:
The "matches" is used to compare the given value with the value of an element in the given array. And it is already being done for each item in requestResponseArray which is the result of [[QueryCache]]. In case of throwing this exception, it is intended not to run step 3.3.2.5.2. (i.e. not delete the entry.)
Step 3.3.2.5.1 in [[BatchCacheOperations]] currently says:
First, this needs to clarify what "matches" means. In theory its logic similar to what is done in [[QueryCache]], but its poorly defined here.
Also, from talking with @jakearchibald on IRC, this should be done for each item in
requestResponse
as its deleted. So it needs to be moved into the loop in 3.3.2.5.2.The text was updated successfully, but these errors were encountered: