laravel-enum icon indicating copy to clipboard operation
laravel-enum copied to clipboard

Calling translation on boot method on EnumServiceProvider problem

Open trippo opened this issue 2 years ago • 4 comments

Calling translations on boot method on EnumServiceProvider cause the invocation of loadJsonPaths function of Translation FileLoader. This blocks the normal load of the others packages translation files.

I think the best option is to use Custom Validation Rules

trippo avatar Mar 24 '22 14:03 trippo

Feel free to submit a PR

BenSampo avatar Mar 24 '22 14:03 BenSampo

Can this be added to a new release? It works ok.

nyneplus avatar May 10 '22 13:05 nyneplus

@BenSampo please review this.

suleymanozev avatar May 24 '22 03:05 suleymanozev

I migrated all my systems to https://github.com/datomatic/laravel-enum-helper

trippo avatar Jul 01 '22 09:07 trippo

Duplicate of https://github.com/BenSampo/laravel-enum/issues/245

spawnia avatar Dec 06 '22 12:12 spawnia