Skip to content

Commit

Permalink
Enum QoL Features (#173)
Browse files Browse the repository at this point in the history
* Simplify `ATH::Argument::ArgumentMetadata` type
* Add value resolver for enum types
* Leverage new version of `ASPEC::Methods.assert_error`
* Add `ASPEC::Methods.assert_success`
* Add helper type to create requirements based on enum members
* Stop including `SPEC::Methods` in top level of framework specs
* Migrate DI component specs to new `assert_error` method
* Remove global include of `ASPEC::Methods`
* Update serializer to use underscored string for enum serialization
  • Loading branch information
Blacksmoke16 authored May 3, 2022
1 parent a70ba92 commit e8ade2a
Show file tree
Hide file tree
Showing 17 changed files with 173 additions and 228 deletions.
10 changes: 0 additions & 10 deletions spec/compiler/array_named_argument_missing.cr

This file was deleted.

12 changes: 0 additions & 12 deletions spec/compiler/binding_array_argument_missing.cr

This file was deleted.

11 changes: 0 additions & 11 deletions spec/compiler/cannot_auto_register_missing_service.cr

This file was deleted.

21 changes: 0 additions & 21 deletions spec/compiler/cannot_auto_register_multiple_candidates.cr

This file was deleted.

10 changes: 0 additions & 10 deletions spec/compiler/factory_instance_method.cr

This file was deleted.

10 changes: 0 additions & 10 deletions spec/compiler/factory_missing_method.cr

This file was deleted.

8 changes: 0 additions & 8 deletions spec/compiler/generic_service_generics_count_mismatch.cr

This file was deleted.

8 changes: 0 additions & 8 deletions spec/compiler/generic_service_generics_not_provided.cr

This file was deleted.

8 changes: 0 additions & 8 deletions spec/compiler/generic_service_name_not_provided.cr

This file was deleted.

12 changes: 0 additions & 12 deletions spec/compiler/multiple_services_on_type_missing_name.cr

This file was deleted.

8 changes: 0 additions & 8 deletions spec/compiler/nested_array_named_argument.cr

This file was deleted.

8 changes: 0 additions & 8 deletions spec/compiler/private_unused_service.cr

This file was deleted.

7 changes: 0 additions & 7 deletions spec/compiler/tagged_service_invalid_tag_list_type.cr

This file was deleted.

7 changes: 0 additions & 7 deletions spec/compiler/tagged_service_invalid_tag_type.cr

This file was deleted.

7 changes: 0 additions & 7 deletions spec/compiler/tagged_service_name_not_provided.cr

This file was deleted.

Loading

0 comments on commit e8ade2a

Please sign in to comment.