Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove deprecated use of objectUtils from generators #6499

Merged
merged 1 commit into from
Oct 6, 2022

Conversation

maribethb
Copy link
Contributor

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide
  • I ran npm run format and npm run lint

The details

Resolves

Some generators give a deprecation warning when used.

Proposed Changes

Uses Object.values instead of deprecated objectUtils.

Behavior Before Change

Behavior After Change

No change.

Reason for Changes

Test Coverage

Tested in the Code demo in core. Previously, got deprecation warnings in JS, Lua, and PHP generators. Now, no warnings.

Documentation

Additional Information

Checked and objectUtils is not used anywhere else in core.

We should consider patching this as it will affect almost all developers and they have no way of addressing this warning on their end. It's just a console message so it's probably not worth starting a patch just for this, but if we have to do one for another reason I think we should include it.

@maribethb maribethb requested a review from a team as a code owner October 6, 2022 18:35
@maribethb maribethb requested a review from NeilFraser October 6, 2022 18:35
@BeksOmega BeksOmega requested review from BeksOmega and removed request for NeilFraser October 6, 2022 18:36
@maribethb maribethb merged commit 224af0a into google:develop Oct 6, 2022
@maribethb maribethb added the PR: fix Fixes a bug label Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants