Skip to content

Add discussion on the Context Type.#113

Draft
tachyonics wants to merge 1 commit intomainfrom
context_type_discussion
Draft

Add discussion on the Context Type.#113
tachyonics wants to merge 1 commit intomainfrom
context_type_discussion

Conversation

@tachyonics
Copy link
Copy Markdown
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
Copy Markdown
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-

```
Copy link
Copy Markdown

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.

2 participants