Closed luanbatistadev closed 1 year ago
I will work on it @davidsdearaujo
@davidsdearaujo would it be interesting to use your package or bring it to the auto_injector(copy)?
@davidsdearaujo in fake_refection you have to do the tokenization, however it is private, i need to tokenize because the constructorString is a String
luanbatistadev @davidsdearaujo in fake_refection you have to do the tokenization, however it is private, i need to tokenize because the constructorString is a String
luanbatistadev @davidsdearaujo in fake_refection you have to do the tokenization, however it is private, i need to tokenize because the constructorString is a String
As we discussed on Discord, we ar gonna keep the fake_reflection responsible for parsing the class constructor.
Fixed on:
Hello @luanbatistadev thanks for contributing!
Your regex works nice to your example but still doesn't work for more complex parameters like this one:
To fix that we have created a package that resolves any nested generics types: fake_reflection
It would be nice if you could implement the fake_reflection instead of using your regex.