Skip to content

component:get_name() uid question #327

@NaakkaDev

Description

@NaakkaDev

https://github.com/Insality/druid/blob/master/druid/component.lua#L174

Should it be:

return self._component.name .. self._component._uid

instead of

return self._component.name .. M.create_uid()

?

I noticed that when printing the output of :get_name() the number keeps going up even when just juggling between two components and started wondering if that's an oopsie 😃

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions