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

Refactor run_component to utilize full pjson serialization #437

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

whyitfor
Copy link
Contributor

@whyitfor whyitfor commented Mar 4, 2024

One sentence summary of this PR (This should go in the CHANGELOG!)

Link to Related Issue(s)

Please describe the changes in your request.

Anyone you think should look at this, specifically?

@whyitfor whyitfor requested a review from rbs-jacob August 19, 2024 13:52
frontend/src/utils/SerializerInputForm.svelte Outdated Show resolved Hide resolved
frontend/src/utils/SerializerInputForm.svelte Outdated Show resolved Hide resolved
@rbs-jacob rbs-jacob added this to the 3.3.0 Release milestone Jan 6, 2025
@rbs-jacob rbs-jacob assigned whyitfor and rbs-jacob and unassigned whyitfor Jan 6, 2025
@rbs-jacob rbs-jacob requested a review from dannyp303 January 9, 2025 21:27
@dannyp303
Copy link
Collaborator

dannyp303 commented Jan 9, 2025

Something is wrong here, seems like this change has broken Enums in the config serializer.

enums-issue

if (node["default"] != null) {
element = node["default"];

$: if (node["type"].startsWith("ofrak")) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
$: if (node["type"].startsWith("ofrak")) {
$: if (node["type"].startsWith("ofrak") && node["enum"] == null) {

there are ofrak classes that are Enum, and should be handled as a Enum, not an ofrak class.

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