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

attribute using property wrappers #8

Open
helje5 opened this issue Dec 27, 2019 · 1 comment
Open

attribute using property wrappers #8

helje5 opened this issue Dec 27, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@helje5
Copy link

helje5 commented Dec 27, 2019

Unlike C#, Swift does not support Attributes to mark bindings types and directions

You should be able to use the new property wrappers in Swift 5.1 to annotate things.

@SalehAlbuga
Copy link
Owner

SalehAlbuga commented Dec 27, 2019

Yes I've been experimenting with property wrappers. At the time of the initial development of the worker I used Swift 5.0. Also I've been testing backward compatibility. I think it'll be great to implement property wrappers in the worker, but since it's only in 5.1 and above, I think it'll be good to wait a bit to have more versions supported. But thank you for pointing this out, I'm updating the docs to make it clearer :)

@SalehAlbuga SalehAlbuga self-assigned this Dec 28, 2019
@SalehAlbuga SalehAlbuga added the enhancement New feature or request label Dec 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants