-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Dry::Schema::Messages::Abstract undefined #459
Comments
It is autoloaded by zeitwerk. The constant is defined here https://github.com/dry-rb/dry-schema/blob/8de4754d2506dbbca54dcff197e48976d7564420/lib/dry/schema/messages/abstract.rb |
Zeitwerk doesn't autoload it for me. I'm getting this error too:
|
@contentfree do you have |
I do not.
…On Thu, Nov 9, 2023 at 6:14 AM Nikita Shilnikov ***@***.***> wrote:
@contentfree <https://github.com/contentfree> do you have require
'dry/schema' anywhere that runs before?
—
Reply to this email directly, view it on GitHub
<#459 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAACVTTBAETZRMTKPEINGKTYDS3JPAVCNFSM6AAAAAAXKFXWP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBTGYZTKMRSGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Then you'll need to add it somewhere and it should work. |
I still get this after adding |
That's odd. I suggest you update other dry-* dependencies as well, it may be the cause. If this doesn't help, check if your code doesn't contain specific |
Describe the bug
Dry::Schema::Messages::Abstract
in my application doesn't exist and I don't see anywhere in the gem where it's required?My environment
The text was updated successfully, but these errors were encountered: