Skip to content

Conversation

@iampatbrown
Copy link
Contributor

Thoughts on _generatePlaceholder() supporting additional types?

I haven't thought through this too much, just wanted to run it by you.

Comment on lines 443 to 444
extension Set: DefaultConstructible {}
extension Dictionary: DefaultConstructible {}
Copy link
Contributor Author

@iampatbrown iampatbrown Jul 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are a bit redundant as they are covered by AnyExpressibleByArrayLiteral and AnyExpressibleByDictionaryLiteral but could be kept and drop the AnyExpressible... ones

@stephencelis
Copy link
Member

@iampatbrown Sorry for the delay. We're pretty busy at the moment, but this definitely looks interesting! Might be a week or two before we have time to think through the current implementation, and do feel free to ping us here if we neglect it for too long!

@iampatbrown
Copy link
Contributor Author

Might be a week or two before we have time to think through the current implementation

@stephencelis No stress at all. Figured the implementation might need some thought :)

@iampatbrown
Copy link
Contributor Author

Closing this for now. The current works for the majority of cases and using an explicit placeholder when needed is fine.

stephencelis and others added 4 commits October 18, 2022 16:05
* Create an "unsafe" library.

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

Co-authored-by: Brandon Williams <mbrandonw@hey.com>
* wip

* wip

* wip

* wip

* wip
* Generate docs in CI

* wip

* Update documentation.yml

* Update documentation.yml

Co-authored-by: Stephen Celis <stephen@stephencelis.com>
@stephencelis stephencelis reopened this Dec 8, 2022
@stephencelis
Copy link
Member

@iampatbrown Down to revisit this? We've moved things around, so if you don't have time I can attempt to rebase, but also wanted to make sure there wasn't anything else that came to mind since you first opened this.

@iampatbrown
Copy link
Contributor Author

iampatbrown commented Dec 8, 2022

@stephencelis I'd most likely redo with a 5.7 implementation as well. Can revisit this on the weekend if there's no rush.

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.

4 participants