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: copying and pasting procedure definitions #6747

Merged
merged 2 commits into from
Jan 12, 2023

Conversation

BeksOmega
Copy link
Collaborator

@BeksOmega BeksOmega commented Jan 9, 2023

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

Fixes #6749

Proposed Changes

Before when you would load two procedure definition blocks that point to the same procedure ID (e.g. when copy pasting) they would both be associated with the same procedure model, which is not what you want. This makes sure that each individual procedure definition block (excluding insertion markers) is associated with its own procedure model.

Test Coverage

Added a test for deserializing two procedure definition blocks that are both associated with the same procedure model.

Documentation

N/A

Additional Information

Dependent on #6746

@github-actions github-actions bot added PR: fix Fixes a bug and removed PR: fix Fixes a bug labels Jan 9, 2023
@BeksOmega BeksOmega force-pushed the fix/procedure-copy-paste branch from 8c27dcd to aae3736 Compare January 12, 2023 00:59
@BeksOmega BeksOmega marked this pull request as ready for review January 12, 2023 01:00
@BeksOmega BeksOmega requested a review from a team as a code owner January 12, 2023 01:00
@BeksOmega BeksOmega requested a review from gonfunko January 12, 2023 01:00
@BeksOmega BeksOmega merged commit 3cf0663 into google:develop Jan 12, 2023
@BeksOmega BeksOmega deleted the fix/procedure-copy-paste branch May 14, 2024 16:26
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.

Copy paste functionality of the function block is not working in Playground
2 participants