question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

block-plus-minus triggers warnings about overwriting block definitions

See original GitHub issue

Category

Plugins

Component block-plus-minus

Describe the bug Warning in console about overwriting existing json definitions.

Block definition #0 in JSON array overwrites prior definition of "lists_create_with".
Block definition #0 in JSON array overwrites prior definition of "procedures_defnoreturn".
Block definition #0 in JSON array overwrites prior definition of "procedures_defreturn".

To Reproduce

Steps to reproduce the behavior:

  1. Run plugin using npm run start
  2. Observe warnings in console.

Expected behavior

No warnings in console.

Additional context

This could be fixed by adding APIs in core to allow for overriding exising block definitions.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
johnnyoshikacommented, Jul 22, 2021

Thanks @BeksOmega for the explanation. I agree, it would be nice if we can get rid of these warnings some day. For example in my use case, I run unit tests in my continuous deployment process and test my custom blocks and logic. I see dozens of these warnings on every run, which can get frustrating as it makes it hard to see other errors and warnings (if there are any). Here’s a partial screenshot of the continuous deployment output:

image

0reactions
BeksOmegacommented, Jul 27, 2021

Closed by #829

Read more comments on GitHub >

github_iconTop Results From Across the Web

Trigger Warnings | Centre for Teaching Excellence
A trigger warning is a statement made prior to sharing potentially disturbing content. That content might include graphic references to topics such as ......
Read more >
Trigger and Content Warning Guidance - provost@uconn.edu
Proposed Definition: A trigger warning is a written or oral statement given directly before presenting material commonly known to cause trauma, that discloses ......
Read more >
On Trigger Warnings | AAUP
Trigger warnings are a way of displacing the problem, however, locating its solution in the classroom rather than in administrative attention to social ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found