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

chore(nlu-client): refactor client so it throws meaningful errors if it needs to #124

Merged
merged 2 commits into from Nov 9, 2021

Conversation

franklevasseur
Copy link
Member

slight refactoring

@franklevasseur franklevasseur merged commit 6d89edc into fl_systematic_health_check Nov 9, 2021
franklevasseur added a commit that referenced this pull request Nov 18, 2021
…Server and Duckling (#118)

* feat(nlu-client): server now return typed error structures on failure

* chore(nlu-engine): engine reads package version from index

* chore(lang-client): create package lang client to query lang server with typings (#117)

* chore(lang-client): create package lang client to query lang server with typings

* minor refactoring + updated some dependencies

* feat(lang-server): minor changes to language server's API for more coherent types

* minor fixes in lang provider

* fix prettier

* chore(lang-server): put back some request validation in tokenize route

* only one error handling mw

* chore(nlu-engine): only one allowed lang source

* do not catch lang-server connections error

* chore: done implementing lang-client

* rm problematic test that can't be fixed

* chore(e2e): update test results

* chore(lang-client): better logging on failure

* catch logger promise

* minor fix

* feat: language-server errors are typed in nlu-server's API

* chore: all errors that may occur durring comm with lang-server are typed as lang-server errors

* feat: duckling throws errors that are typed in nlu-server's API (#123)

* feat: duckling throws errors that are typed in nlu-server's API

* fix duckling tests

* feat: nlu-server also returns lang and duckling servers errors at predict time

* chore(nlu-client): refactor client so it throws meaningful errors if it needs to (#124)

* chore(nlu-client): refactor client so it throws meaningfull errors if it needs to

* fix unit tests

* chore(lang): increase lang server version
@franklevasseur franklevasseur deleted the fl_refactor_clients branch March 23, 2022 15:29
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.

None yet

1 participant