Skip to content

Commit

Permalink
fix requires
Browse files Browse the repository at this point in the history
  • Loading branch information
gtrias committed Aug 21, 2024
1 parent 82c6acc commit 178218a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions lib/resource_registry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
require 'public/versions/version'
require 'schema_registry/json_schema_mapper'
require 'schema_registry/maybe'
require 'schema_registry/maybe/absent'
require 'schema_registry/maybe/present'
require 'runtime_generic'

# Entry point for ResourceRegistry
Expand Down
6 changes: 3 additions & 3 deletions spec/resource_struct_builder_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ class NestedValueObjectDto < T::Struct

class SimpleMaybeDto < T::Struct
const :basic, String
const :absent, Maybe[T.nilable(String)], default: Maybe.empty
const :present, Maybe[T.nilable(Integer)], default: Maybe.empty
const :integer, Maybe[Integer], default: Maybe.empty
const :absent, Maybe[T.nilable(String)]
const :present, Maybe[T.nilable(Integer)]
const :integer, Maybe[Integer]
end

class ArrayDto < T::Struct
Expand Down

0 comments on commit 178218a

Please sign in to comment.