Add CasePathsCore usage example#223
Conversation
I was looking for an explanation on how to use `CasePathsCore` and happened to found it in the `CasePathable` documentation comment. Before I found it though I wasn't aware that `CasePathable` was the protocol the macro synthesized conformance for. This moves the information to a place that is easier to find. Although maybe it should even be in a CasePathsCore README?
|
I might not be understanding the motivation behind this PR. The docs you added appear to come straight from the Can you clarify the problem you were having? I'm not sure I understand the motivation behind "how to use If it's a question of documenting the modules for installation, we recently added this to our SharingGRDB project: https://github.com/pointfreeco/sharing-grdb/pull/49/files Would such a tip have helped you here? |
|
Yeah, such a tip would help. I was basically looking for how to use You're right that my PR merely lifts the existing documentation to a place that I think is easier to find. I was expecting this (or similar) information to be in the |
|
@klaaspieter Sorry for dragging on this, but the good news is that with SwiftSyntax prebuilts the |
|
No worries. Thanks for the heads up! |
I was looking for an explanation on how to use
CasePathsCoreand happened to found it in theCasePathabledocumentation comment.Before I found it though I wasn't aware that
CasePathablewas the protocol the macro synthesized conformance for. This moves the information to a place that is easier to find. Although maybe it should even be in a CasePathsCore README?