Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Investigate adding Swift macros #25

Closed
tdeleon opened this issue Dec 2, 2023 · 2 comments
Closed

Investigate adding Swift macros #25

tdeleon opened this issue Dec 2, 2023 · 2 comments
Labels
enhancement New feature or request question Further information is requested
Milestone

Comments

@tdeleon
Copy link
Owner

tdeleon commented Dec 2, 2023

No description provided.

@tdeleon tdeleon added the enhancement New feature or request label Dec 2, 2023
@tdeleon tdeleon modified the milestones: 2.2.0, 3.0.0 Dec 2, 2023
@tdeleon
Copy link
Owner Author

tdeleon commented Dec 22, 2023

There are several good opportunities for macros in Relax:

  1. Endpoints: remove need for boilerplate code for Endpoint protocol adoption and conformance with properties baseURL, Parent. Will require renaming to avoid collision with protocol name itself.
  2. Service: add baseURL to property wrapper (i.e. @Service("https://example.com/")). Should also rename to API or RestAPI.

@tdeleon
Copy link
Owner Author

tdeleon commented Dec 22, 2023

Added #34 and #35 for macro implementation.

@tdeleon tdeleon closed this as completed Dec 22, 2023
@tdeleon tdeleon added the question Further information is requested label Dec 22, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant