Properly deprecate passing array to Merge::key()

Created on 19 September 2023, over 1 year ago
Updated 1 October 2023, about 1 year ago

Problem/Motivation

A decade ago, #2194897: Rename Database\Query\Merge::key() to keys(), retain a BC alias for key() introduced Merge::keys(), and ::key() was meant to accept single key values.

However, that was not enforced and ::key() is still in use accepting array values.

Proposed resolution

Use deprecation tools that now are available and deprecate passing array $fields to ::key()

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

11.0 🔥

Component
Database 

Last updated 2 days ago

  • Maintained by
  • 🇳🇱Netherlands @daffie
Created by

🇮🇹Italy mondrake 🇮🇹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024