Skip to content

Model::addUserAction should accept seed /w class#1070

Merged
mvorisek merged 3 commits intodevelopfrom
custom_ua_seed
Sep 30, 2022
Merged

Model::addUserAction should accept seed /w class#1070
mvorisek merged 3 commits intodevelopfrom
custom_ua_seed

Conversation

@mvorisek
Copy link
Copy Markdown
Member

@mvorisek mvorisek commented Sep 30, 2022

someday maybe also for hasOne and simillar functions

regex: function(?! (__construct|add|ref|refmodel|reflink|createTheirModel|addToPersistence|makecsvpersistence|connect)\()((?! use ).)*\$defaults

@mvorisek mvorisek marked this pull request as ready for review September 30, 2022 18:23
@mvorisek mvorisek merged commit 1421983 into develop Sep 30, 2022
@mvorisek mvorisek deleted the custom_ua_seed branch September 30, 2022 18:57
$seed = ['callback' => $seed];
}

if (!isset($defaults['caption'])) {
Copy link
Copy Markdown
Member Author

@mvorisek mvorisek Sep 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it seems the reasons are purely historical and not intentional/needed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant