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

S3Path constructor does not respect its type parameter #276

Open
ExpandingMan opened this issue Jan 12, 2023 · 0 comments
Open

S3Path constructor does not respect its type parameter #276

ExpandingMan opened this issue Jan 12, 2023 · 0 comments

Comments

@ExpandingMan
Copy link
Contributor

◖◗ using AWSS3, Minio

◖◗ cfg = MinioConfig("localhost");

◖◗ p = S3Path("s3://bucket/", config=cfg);

◖◗ typeof(p)
S3Path{MinioConfig}

◖◗ typeof(typeof(p)())
S3Path{Nothing}

Arguably I should not be using typeof(p)() in the first place as it's not clear what that's creating, but, regardless, this constructor is invalid because it returns an object of a different type.

This came up here.

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

No branches or pull requests

1 participant