Skip to content

Some resource names are not displayed correctly #11

@chenyan2002

Description

@chenyan2002

For all GuestResource trait, we have impl GuestResource for MockedResource. With a constructor method, the method returns Self, i.e., MockedResource. A type directed traits like ToValue or Dialog can only be dispatched to the generic MockedResource type, and we can only fill in a dummy name in the MockedResource field. This only outputs a confusing log, the correctness is not affected.

To fix this, we may need to create mocked resource type for each resource trait. Or need to think of some special treatment for constructor method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions