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

Schema .partial and .partialWith prevents .make #4222

Open
dmeehan1968 opened this issue Jan 7, 2025 · 0 comments
Open

Schema .partial and .partialWith prevents .make #4222

dmeehan1968 opened this issue Jan 7, 2025 · 0 comments
Labels
enhancement New feature or request schema

Comments

@dmeehan1968
Copy link

What version of Effect is running?

3.12.1

What steps can reproduce the bug?

import { Schema } from "effect"

const foo = Schema.Struct({
  bar: Schema.String,
}).pipe(Schema.partial)

const afoo = foo.make({ bar: 'hey' })

What is the expected behavior?

I would still expect to be able to make a partial schema

What do you see instead?

make has been removed from the schemas operations.

Additional information

No response

@dmeehan1968 dmeehan1968 added the bug Something isn't working label Jan 7, 2025
@gcanti gcanti added enhancement New feature or request schema and removed bug Something isn't working labels Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request schema
Projects
None yet
Development

No branches or pull requests

2 participants