Azure / Azure/azure-sdk-for-java

Azure Core v2: check in code generated in compile-time

Open
#44,380 0 comments 0 reactions 0 assignees View on GitHub
Azure.Core.V2
Dominant language
Java
Stars
2.6k
Forks
2.2k
Avg merge
2d 8h
Merged PRs (30d)
178

Description

This task should be broken down into multiple pieces:

1. Annotation processor should generate code in location that can be checked into the repo
2. It should be possible to easily turn it off once it becomes more mature
3. The precondition is to have a validation as a part of CI pipeline that
- compiles code (and overrides auto-generated files)
- git diff generated sources
- fails if checked in sources are not identical to the auto-generated ones.
To ensure that checked in code remains consistent with the one produced by the generator.

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.