Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasavila00 committed Dec 3, 2024
1 parent 8adfd41 commit 10402d6
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 6 deletions.
7 changes: 7 additions & 0 deletions e2e-tests/standalone-parser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# node-server

## 1.0.60

### Patch Changes

- Updated dependencies
- @beff/client@0.0.63

## 1.0.59

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/standalone-parser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "standalone-parser",
"version": "1.0.59",
"version": "1.0.60",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions packages/beff-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @beff/client

## 0.0.63

### Patch Changes

- fix bugs

## 0.0.62

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/beff-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@beff/client",
"version": "0.0.62",
"version": "0.0.63",
"description": "",
"main": "dist/cjs/index.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions packages/beff-core/src/ast/json_schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -575,9 +575,9 @@ impl<'a> JsonFlatConverter<'a> {
JsonSchema::AnyArrayLike => {
self.to_json_flat(JsonSchema::Array(JsonSchema::Any.into()))
}
JsonSchema::StNever | JsonSchema::StNot(_) => {
Err(anyhow!("semantic types should not be converted to json"))
}
JsonSchema::StNever => self.to_json_flat(JsonSchema::AnyOf(BTreeSet::new())),

JsonSchema::StNot(_) => Err(anyhow!("semantic types should not be converted to json")),
JsonSchema::Function => Err(anyhow!("function type is not supported in json schema"))?,
}
}
Expand Down
6 changes: 6 additions & 0 deletions packages/beff-wasm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# beff-vscode

## 0.0.14

### Patch Changes

- fix bugs

## 0.0.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/beff-wasm/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "beff-vscode",
"publisher": "beff",
"version": "0.0.13",
"version": "0.0.14",
"description": "",
"engines": {
"vscode": "^1.73.0"
Expand Down

0 comments on commit 10402d6

Please sign in to comment.