Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

fix: local component injection refactor fixes #238 #239

Merged
merged 1 commit into from
Oct 2, 2021

Conversation

marina-mosti
Copy link
Member

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

If adding a new feature, the PR's description includes:

  • A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

This has been broken probably for a while since we added the SchemaField and SchemaRow, but the Lookup plugin was covering it up.
The refactoring allows for an easier way to inject the user defined components in the factory, and directly allow the SchemaField which is the one responsible for rendering the component in the end to set itself to anything the user may have defined in the second parameter object.

@marina-mosti marina-mosti linked an issue Oct 1, 2021 that may be closed by this pull request
Copy link
Collaborator

@logaretm logaretm left a comment

Choose a reason for hiding this comment

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

Looks good! great work 👍

@marina-mosti marina-mosti merged commit 34fad96 into main Oct 2, 2021
@marina-mosti marina-mosti deleted the fix/factory-local-component-injection branch October 2, 2021 18:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Locally imported components not working
2 participants