make the parse function more generic #369
Labels
area/library
Common devfile library for interacting with devfiles
kind/enhancement
New feature or request
Projects
devfile/libray currently has 4 parse functions
ParseFromPath
,ParseFromURL
,ParseFromData
,ParseRawDevfile
The logic of those 4 parse functions are similar, the only difference is that they take different parameter types.
The issue is to deprecate the existing parse functions, and create a new
ParseDevfile
, which combines the logic of those 4 functions. It should take an argument as following:Populate()
andPopulateFromURL()
andPopulateFromRaw()
should also be combined.The text was updated successfully, but these errors were encountered: