Move apis package to a dedicated sub-module#4972
Conversation
Signed-off-by: Ilia Petrov <ilia.yavorov.petrov@gmail.com>
caff755 to
d348845
Compare
Signed-off-by: Ilia Petrov <ilia.yavorov.petrov@gmail.com>
Signed-off-by: Ilia Petrov <ilia.yavorov.petrov@gmail.com>
|
@swiatekm are you okay with removing the |
apis package to a dedicated sub-module
|
@iypetrov It would be cleaner to first only migrate the yaml package and then do the API package separation. |
|
So based on this there is no need to first migrate the yaml package , because it is mandatory in this case? |
|
I haven't verified if the |
|
Okay, I'll check it on my side and if I find it could, I'll create a dedicated PR for that. Thanks for the comment! |
|
I made a little research and I realized there was a misunderstanding on my side. My original goal was to avoid using third-party packages in the |
|
Looking at this PR, I think I'd prefer to start by moving all the code that the API structs don't depend on into |
In |
Sure, though it doesn't need to be called that. I'd accept |
Description:
The goal of this PR is to separate the
apispackage from the core operator module, allowing other projects to use its structs without pulling in the operator’s full set of indirect dependencies.Link to tracking Issue(s):
#4362
github.com/goccy/go-yaml#4362Testing:
No new tests are added, just adapt some of the existing ones.
Documentation:
Should be added.