Skip to content

Devfile parser should not return internal context from parse function #194

@adisky

Description

@adisky

Is your feature request related to a problem? Please describe.
Currently Parse function in devfile parser returns DevfileObj which contains DevfileCtx, DevfileCtx is internal structure and not of any use for library consumer.

Describe the solution you'd like
Return Devfile Structure directly or if returning the interface, we can use simple wrapper instead of DevfileObj

type DevfileWrapper Struct {
 APIVersion String
 Data data.DevfileData
}

Describe alternatives you've considered
None I have thought of :)

Additional context
Not required

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenRotten items. These items have been stale for 60 days and are now closed.lifecycle/staleStale items. These items have not been updated for 90 days.

    Type

    No type

    Projects

    Status

    Done ✅

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions