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

port Registry I/O #8507

Closed
wants to merge 71 commits into from
Closed

port Registry I/O #8507

wants to merge 71 commits into from

Conversation

ShaMan123
Copy link
Contributor

@ShaMan123 ShaMan123 commented Dec 12, 2022

Motivation

Description

ports what remains from #8282 to #8500

Changes

  • renamed: setClass to setJSONClass, getClass to getJSONClass
  • exposed setClass: register class to both JSON and SVG registeries
  • changed signature of getXXXClass accepting a strict param indicating if it should throw or not
  • use registry to resolve enlivenObjectEnlivenables
  • changed getJSONClass signature to accept an object, needed to resolve Gradient in enlivenObjectEnlivenables
  • refactored enlivenObjectEnlivenables to return an object only with enlived stuff, previously was returning everything
  • changed Gradient to fit the registry
  • enliven Shadow in enlivenObjectEnlivables not in set (I don't think it is breaking but devs can add type: shadow to data in case they fall into an edge case)
  • fix fromObject regression 3fd0660

Gist

closes #8282

In Action

@ShaMan123 ShaMan123 requested a review from asturur February 13, 2023 05:39
Copy link
Contributor Author

@ShaMan123 ShaMan123 left a comment

Choose a reason for hiding this comment

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

updated

Copy link
Contributor Author

@ShaMan123 ShaMan123 left a comment

Choose a reason for hiding this comment

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

updated, resolved conflicts successfully I hope

@ShaMan123
Copy link
Contributor Author

@asturur what about this??

Copy link
Contributor Author

@ShaMan123 ShaMan123 left a comment

Choose a reason for hiding this comment

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

updated from master and resolved conflicts

@ShaMan123 ShaMan123 mentioned this pull request Aug 4, 2023
@asturur asturur closed this Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants