Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Core Data: Replace spread arguments with non-spread variants (#39477)
When dynamically creating accessor and updator methods for core data entities we catch variable arguments in the methods and pass them through as spread arguments. While this offers a certain expandability should we update the underlying methods it also confuses the types of the interfaces since those underlying methods don't allow variable argument lists (or at least, they ignore anything past the known arguments). In this patch we're replacing those spread variants with direct named arguments to match the underlying inferface. This will present cleaner types and remove one bit of confusion.
- Loading branch information