Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Comments

Sibling $ref required removed from definition.#944

Merged
chrimc62 merged 4 commits intomasterfrom
chrimc/test
Aug 18, 2020
Merged

Sibling $ref required removed from definition.#944
chrimc62 merged 4 commits intomasterfrom
chrimc/test

Conversation

@chrimc62
Copy link

The new bundler exposed an issue in our component schema. When using Activity there would be a $ref sibling required. This conflicted with the required in Activity. This is supported in JSON Schema 8, but fixed this for now by removing the definition required. This makes schema more readable and may be needed for Composer release.

],
"internalConsoleOptions": "openOnSessionStart",
"cwd": "${workspaceFolder}/packages/dialog/test/commands/dialog"
"cwd": "${workspaceFolder}/../botbuilder-dotnet/"
Copy link
Contributor

Choose a reason for hiding this comment

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

this may not work for others

@codecov-commenter
Copy link

Codecov Report

Merging #944 into master will decrease coverage by 3.75%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #944      +/-   ##
==========================================
- Coverage   72.48%   68.73%   -3.76%     
==========================================
  Files         175      174       -1     
  Lines       11097     9415    -1682     
  Branches      968      879      -89     
==========================================
- Hits         8044     6471    -1573     
+ Misses       2706     2617      -89     
+ Partials      347      327      -20     
Impacted Files Coverage Δ
packages/dialog/src/commands/dialog/merge.ts 0.00% <0.00%> (ø)
packages/dialog/src/library/schemaMerger.ts 80.02% <100.00%> (+1.08%) ⬆️
packages/command/src/readpipeddata.ts 65.21% <0.00%> (-18.12%) ⬇️
packages/qnamaker/src/commands/qnamaker/index.ts 66.66% <0.00%> (-16.67%) ⬇️
...kages/luis/src/commands/luis/application/create.ts 60.00% <0.00%> (-13.34%) ⬇️
packages/lg/src/commands/lg/index.ts 66.66% <0.00%> (-11.12%) ⬇️
packages/plugins/src/commands/plugins/install.ts 41.02% <0.00%> (-9.96%) ⬇️
packages/luis/src/commands/luis/version/import.ts 75.00% <0.00%> (-9.79%) ⬇️
packages/luis/src/commands/luis/cross-train.ts 77.27% <0.00%> (-9.62%) ⬇️
packages/luis/src/commands/luis/train/run.ts 66.66% <0.00%> (-8.75%) ⬇️
... and 107 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9437cc1...4805604. Read the comment docs.

@chrimc62 chrimc62 merged commit 1c4ddb8 into master Aug 18, 2020
@chrimc62 chrimc62 deleted the chrimc/test branch August 18, 2020 19:21
munozemilio pushed a commit that referenced this pull request Aug 19, 2020
* Sibling $ref required removed from definition.

* Update readme.
munozemilio added a commit that referenced this pull request Aug 19, 2020
* Change dialog:merge bundling (#932)

* Working bundle.

* Figuring out $bundled for $ref

* Remove $bundled.

* Add tests for more complex schema.

* Single process schema:

Co-authored-by: Emilio Munoz <emmunozp@microsoft.com>

* Sibling $ref required removed from definition. (#944)

* Sibling $ref required removed from definition.

* Update readme.

Co-authored-by: Chris McConnell <chrimc@microsoft.com>
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.

3 participants