Skip to content
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

feature: Be able to use other attribute "serialization" on computed attribute #5769

Open
BeArchiTek opened this issue Feb 17, 2025 · 0 comments
Labels
group/backend Issue related to the backend (API Server, Git Agent) state/need-triage This issue needs to be triaged type/feature New feature or request

Comments

@BeArchiTek
Copy link
Contributor

Component

API Server / GraphQL

Describe the Feature Request

Right now we can only use __value for the different attribute / related node we can use in a jinja2 computed attribute.

I would like to be able to use the others format returned by graphql
example : __ip for IP Address

Describe the Use Case

I would like to avoid :

jinja2_template: "{{ session_type__value | lower }}-{{ remote_ip__address__value.split('/')[0] }}{% endif %}"

when I can do

jinja2_template: "{{ session_type__value | lower }}-{{ remote_ip__address__ip }}{% endif %}"

Additional Information

No response

@BeArchiTek BeArchiTek added the type/feature New feature or request label Feb 17, 2025
@exalate-issue-sync exalate-issue-sync bot added the state/need-triage This issue needs to be triaged label Feb 17, 2025
@BeArchiTek BeArchiTek added the group/backend Issue related to the backend (API Server, Git Agent) label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/backend Issue related to the backend (API Server, Git Agent) state/need-triage This issue needs to be triaged type/feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant