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

Demonstrate usage of ModelService in the examples #60

Open
cdamus opened this issue Nov 14, 2022 · 0 comments
Open

Demonstrate usage of ModelService in the examples #60

cdamus opened this issue Nov 14, 2022 · 0 comments
Labels
enhancement New feature or request modelserver

Comments

@cdamus
Copy link
Contributor

cdamus commented Nov 14, 2022

This is a follow-up to issue #46.

The examples currently use the ModelServerClient to perform functions such as fetching model content and perhaps performing validation or edits. These examples should be updated to use the corresponding ModelService APIs, instead, because this is now the recommended usage for a few reasons:

  • the ModelServerClient is a direct connection to the Java server and so does not invoke any of the business logic extensions provided by plug-ins in the Node server
  • the ModelService is intended to evolve certain local performance improvements over time, such as caching model data to avoid round-trips to the Java server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request modelserver
Projects
None yet
Development

No branches or pull requests

1 participant