Skip to content

Use Property::new() in make_builder_fn!#33

Open
rogarb wants to merge 2 commits intountitaker:masterfrom
rogarb:builder_fix
Open

Use Property::new() in make_builder_fn!#33
rogarb wants to merge 2 commits intountitaker:masterfrom
rogarb:builder_fix

Conversation

@rogarb
Copy link
Copy Markdown

@rogarb rogarb commented Jun 18, 2022

In the current VcardBuilder implementation, builder functions are created
with the macro make_builder_fn!. This macro was instantiating Property
object directly, thus not using the Property::new() interface.

When using the Property::new(name, value) interface, the value is escaped
before being stored in the raw_value field. It was not the case when using
direct instantiation.

rogarb added 2 commits June 18, 2022 17:33
When using Property::new(name, value), the value is escaped before being
stored in the raw_value field. It was not the case when using the direct
instantiation pattern.
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.

1 participant