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

feat: add all field as example value when initing #209

Merged
merged 4 commits into from
Feb 13, 2025

Conversation

NicolasGirardot
Copy link
Contributor

Generated Manifest
image

Checklist

  • I have read the Contributor Guide
  • I have read and agree to the Code of Conduct
  • I have added a description of my changes and why I'd like them included in the section below

Description of Changes

Describe your changes here

Related Issues

List related issues here

@NicolasGirardot NicolasGirardot requested a review from a team as a code owner February 13, 2025 08:45
@NicolasGirardot
Copy link
Contributor Author

Blocked by #207 since it will change the name of the config_field to setting

documentation: None,
repository: None,
config_fields: Default::default(),
description: Some("Description of the component".to_string()),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would be great to provide a multi-line string by default :) like this:

description = '''
Here is a 
string
'''

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image Updated !

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a way to force [component.build] to appear before the settings? or is that done automatically during serialization?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea : Done
image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed the order in the object class definition

@NicolasGirardot NicolasGirardot merged commit 330c9b9 into main Feb 13, 2025
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants