This resolves a couple issues around missing error reporting for two cases:
1 - No AutoValue models found
2 - AutoValue models found, but none have a static typeAdapter method
Resolves #171
Resolves #170
While reported as different issues, I'm fairly certain they're the same issue. The two tests I added would only repro #170, but that was also because some of the way the logic on master was set up, it would basically just quietly refuse to generate the factory rather than error during generation. The logic changes here to record factory counts early account for that as well
This resolves a couple issues around missing error reporting for two cases:
1 - No AutoValue models found 2 - AutoValue models found, but none have a static
typeAdapter
methodResolves #171 Resolves #170
While reported as different issues, I'm fairly certain they're the same issue. The two tests I added would only repro #170, but that was also because some of the way the logic on master was set up, it would basically just quietly refuse to generate the factory rather than error during generation. The logic changes here to record factory counts early account for that as well