Skip to content

Conversation

@yaroslav8765
Copy link
Contributor

No description provided.

| { resource: AdminForthResource, recordId: any, record?: never, oldRecord: any, adminUser: AdminUser, extra?: HttpExtra, updates: any }
): Promise<{ error?: string }> {
const err = this.validateRecordValues(resource, record, 'edit');
const dataToUse = updates || record;
Copy link
Contributor

Choose a reason for hiding this comment

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

lets add

if (record) {
   console.warn('updateResourceRecord function received 'record' param which is deprecated and will be removed in future version, please use 'updates' instead.'
}

@ivictbor ivictbor merged commit 0373f4a into next Oct 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants