-
Notifications
You must be signed in to change notification settings - Fork 218
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
Forum sample rework #2455
Forum sample rework #2455
Conversation
letmaik/forum-unit-tests@23456 aka 20210414.15 vs main ewma over 20 builds from 23079 to 23450 Click to see table
|
CI failure is unrelated. |
@@ -41,10 +41,13 @@ The sample app has the following folder layout: | |||
│ │ └── site.ts | |||
│ ├── models | |||
│ │ └── poll.ts | |||
│ ├── services |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are CCF/enclave apps called services? If not, I would suggest to change services into e.g. enclaveApp. Services is confusing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This term comes from tsoa's docs: https://tsoa-community.github.io/docs/getting-started.html#defining-our-first-model. I've seen this before outside tsoa, another term would be *Manager
but I'd like to stick to tsoa's docs here. The whole npm app runs inside CCF, not just the services.
|
||
Generate opinions, user identities and submit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These edits are really a great addition
ccf-app
polyfills.esm
dependency in favour of native ESM support in Node.js.demo/submit-opinions.ts
which isn't tested in CI and missed a fix that was already applied to the unit tests earlier.selfsigned
dependency in favour of usingnode-forge
directly.tsoa
version and remove redundant (empty) entry script.