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

Add discussion on the Context Type. #113

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tachyonics
Copy link
Contributor

Issue #, if available:

Description of changes: Add discussion on the Context Type, its usage and practices.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

}
```

### Service Clients
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd like to see some more context about the performance difference of the protocol approach vs the generic approach for service clients. As I understand, existential box redirection is analogous to v-table lookup, which should have a very small perf hit, especially when considering that the underlying operation of the service clients will be a network call.

The generic approach seems much more complex code-wise, especially where there are more than just a couple of service clients, so having more definitive information about why one would go with one approach over the other would be helpful.

Applications initialized using `smoke-framework-application-generate` will be created with a stub definition
of the Context Type-

```

Choose a reason for hiding this comment

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

Missing swift language specifier for code completion

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.

3 participants