Skip to content

split std to multi sub-modules? #406

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
He-Pin opened this issue May 22, 2025 · 2 comments
Open

split std to multi sub-modules? #406

He-Pin opened this issue May 22, 2025 · 2 comments

Comments

@He-Pin
Copy link
Contributor

He-Pin commented May 22, 2025

We currently have all methods live in a single Std object, in jrsonnet, the methods are split to several modules, I think that's a nice way to have.

At work, we are using the AbstractFunctionModule to separate it, eg JsonPathFunctions , JsonSchemaFunctions and etc, wdyt, we make it several ExternalVariableFunctions, ObjectFunctions ... ?

https://jsonnet.org/ref/stdlib.html

@stephenamar-db
Copy link
Collaborator

Yes, I agree that it's the right thing to do, but it's like at the bottom of my list. Maybe copilot or any other AI agent can help with the bulk of the work.

@He-Pin
Copy link
Contributor Author

He-Pin commented May 22, 2025

We may need git mv to keep the histroy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants