Skip to content

Try to parse TL as UserFn before DB in legacy binary (de)serializer#1

Closed
StachuDotNet wants to merge 1 commit into
mainfrom
legacy-binary-serializer-parse-userfn-before-db
Closed

Try to parse TL as UserFn before DB in legacy binary (de)serializer#1
StachuDotNet wants to merge 1 commit into
mainfrom
legacy-binary-serializer-parse-userfn-before-db

Conversation

@StachuDotNet

@StachuDotNet StachuDotNet commented Feb 15, 2022

Copy link
Copy Markdown
Owner

What is the problem/goal being addressed?

If you

  • create a canvas
  • add a user function
  • (re)load the canvas with the F# backend,

currently the user function is (seemingly consistently) 'parsed' as a DB TopLevel rather than a UserFn.

What is the solution to this problem?

In the legacy binary serialization server, attempt to parse UserFns before DBs.

How are you sure this works/how was this tested?

I've tested this in the UI, and confirmed no regressions in other tests.

As existing integration tests already covered this bug (when the integration tests target F#, which they shortly will by default), I did not write new tests to cover this.

@StachuDotNet

Copy link
Copy Markdown
Owner Author

PR in wrong repo.

StachuDotNet pushed a commit that referenced this pull request Mar 1, 2023
StachuDotNet added a commit that referenced this pull request Jan 30, 2024
…ension

Attempt #1: Publish VS Code Extension
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.

1 participant