Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
better documentation around MetadataValue being expressible by litera…
…ls (#85) * better documentation around MetadataValue being expressible by literals Motivation: In many examples, I could see that users seem to construct metadata values using the explicit enum cases `.string("foo")`, `.array(...)`, as well as `.dictionary(...)`. It's much more readable and easier to type to just use `"foo"`, `["bar", "buz"]`, and `["qux": "quux"]` and rely on the `ExpressibleBy...Literal` conformances. Modifications: Add the docs and examples. Result: Hopefully, users will read the docs and write more idiomatic code. * Update Logging.swift
- Loading branch information