google / google/auto

Factory source generation fails when a type of <Foo>Factory is already present.

Open
#78 0 comments 0 reactions 0 assignees View on GitHub
Component: factory P3 type=addition
Dominant language
Java
Stars
10.6k
Forks
1.2k
Avg merge
6h 32m
Merged PRs (30d)
13

Description

Code generation should not blindly take the name of the type that needs to be generated and add 'Factory' to it. A check should be made if a type of the same name already exist and take appropriate action (eg inform user or change it's own name).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.