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
DocumentCollection extends Collection which extends Map, and in the process overrides delete. Map#delete returns a boolean if the deletion was successful; DocumentCollection#delete returns nothing, violating inheritance.
Separate ticket from #10227 because this is an API issue rather than a mere type annotation.
The text was updated successfully, but these errors were encountered:
aaclayton
added
bug
Functionality which is not working as intended
api
Issues related to the API used by Mod Devs
labels
May 17, 2024
DocumentCollection
extendsCollection
which extendsMap
, and in the process overridesdelete
.Map#delete
returns a boolean if the deletion was successful;DocumentCollection#delete
returns nothing, violating inheritance.Separate ticket from #10227 because this is an API issue rather than a mere type annotation.
The text was updated successfully, but these errors were encountered: