Stream: implementers
Topic: dependencyList "name" value?
Sean McIlvenna (Jul 17 2017 at 19:57):
What is the "name" on a dependency in dependencyList supposed to be? I am getting an error that "IG Name must be a valid token". I figured this was just supposed to be the "name" property from the ImplementationGuide resource
Sean McIlvenna (Jul 17 2017 at 19:59):
Was just reading up on the ImplementationGuide.name property.. it doesn't seem to indicate there are any particular restrictions on the format of the name... So, again, not sure what dependencyList.name is supposed to represent. Maybe the "id" of the ImplementationGuide?
Eric Haas (Jul 17 2017 at 20:07):
try lower case no spaces - I use 'uscore'
Sean McIlvenna (Jul 17 2017 at 20:10):
yes, but what I'd like to know is WHERE this format is defined?
Sean McIlvenna (Jul 17 2017 at 20:10):
how would I conclude what the value is for another IG?
Sean McIlvenna (Jul 17 2017 at 20:10):
other than us-core?
Eric Haas (Jul 17 2017 at 20:13):
"name" : "[name of the IG, for logging, and Jekyll variable name for location]"
I assume Jekyll naming conventions rule here
Eric Haas (Jul 17 2017 at 20:14):
it doesnt have to match the IG name
Sean McIlvenna (Jul 17 2017 at 20:15):
so one approach could be to just make the name lowercase and replace spaces with dashes?
Sean McIlvenna (Jul 17 2017 at 20:15):
and that is a valid dependencyList.name?
Eric Haas (Jul 17 2017 at 20:32):
follows same rules for ruby variables so USCore should be fine..... let me update to the latest ig-pub and see if I get similar error
Eric Haas (Jul 17 2017 at 21:19):
I can't reproduce the error
Grahame Grieve (Jul 21 2017 at 12:34):
it
Grahame Grieve (Jul 21 2017 at 12:35):
the name is whatever token you want to use in your internal infrastructure. It must be a valid token so I turn it into filenames etc. but other than that, no rules
Last updated: Apr 12 2022 at 19:14 UTC