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
For SensESP v2.0: if we add sk_path as a member of SKMetadata we can combine two of the three parameters to the constructor of that class. We then start moving toward specifying sk_path not with a String, but with SKMetadata. We could even deprecate all versions of constructors that take sk_path as a String. What this would do is strongly type the sk_path as a complex Signal K definition, and not just any old String
The text was updated successfully, but these errors were encountered:
Would it, though? (Strongly type the sk_path.) It's still going to be defined as a string (lowercase) within SKMetadata, isn't it? What's to prevent someone from just making up a path, same as they do now?
SKMetadata* metadata = new SKMetadata();
metadata->sk_path_ = "whatever.i.feel.like";
joelkoz
changed the title
ENH: Add sk_path to metadata structure
Add sk_path to metadata structure
Dec 31, 2020
For SensESP v2.0: if we add sk_path as a member of SKMetadata we can combine two of the three parameters to the constructor of that class. We then start moving toward specifying
sk_path
not with a String, but with SKMetadata. We could even deprecate all versions of constructors that takesk_path
as a String. What this would do is strongly type thesk_path
as a complex Signal K definition, and not just any old StringThe text was updated successfully, but these errors were encountered: