You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The version attribute of infos(graph, vertex, edge) now is only a number. Actually it can contain the implicit information that the property data types support with the version. With the version growing, the supported data types could be extended. Likes:
version 1 -> support bool,int32, int64, float, double, string
version 2 -> support bool,int32, int64, float, double, string, date32
Describe the solution you'd like
Use string instead of number as version, something like User Agent message of browser. version example: gar/v1 gar/v2 gar/v3 (user_define1, user_define2) # suppose the version 3 or higher support user define type.
Add a VersionMeta class to keep record different version supported data types and do the version string parse job.
If the yaml contains the data type that the yaml version not support, raise error to user.
The text was updated successfully, but these errors were encountered:
acezen
changed the title
Extend the version attribute of yaml to support extending data types support base on version
[Feat]: Support data type extension in graph information base on version attribute of Infos
Dec 7, 2022
Is your feature request related to a problem? Please describe.
The
version
attribute of infos(graph, vertex, edge) now is only a number. Actually it can contain the implicit information that the property data types support with the version. With the version growing, the supported data types could be extended. Likes:version 1 -> support
bool
,int32
,int64
,float
,double
,string
version 2 -> support
bool
,int32
,int64
,float
,double
,string
,date32
Describe the solution you'd like
Use string instead of number as version, something like
User Agent
message of browser.version
example:gar/v1
gar/v2
gar/v3 (user_define1, user_define2)
# suppose the version 3 or higher support user define type.Add a
VersionMeta
class to keep record different version supported data types and do the version string parse job.If the yaml contains the data type that the yaml version not support, raise error to user.
The text was updated successfully, but these errors were encountered: