Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Ask Reuben 167 - What is in a name?  (Read 4041 times)
Reuben B.
Four Js
Posts: 1116


« on: March 31, 2023, 12:03:46 am »

The Genero syntax for an identifier includes properties that say "only ASCII letters, numbers, and the underscore (_) character are permitted" and that "blanks, hyphens, and other non-alpha numeric characters are not permitted"
 
So "first_name" is a valid Genero identifier whilst "first-name", "first.name", "first name", "1_first_name" are not valid Genero identifiers.  Standards such as OpenAPI, JSON, XML etc allow a wider range of identifiers and this can initially cause difficulties if you are attempting to pass data between Genero data structures and other data structures.
 
Attributes such as WSName, XMLName, json_name can be used to provide a mapping between a Genero identifier and an alternative identifier.
 
Read more at https://4js.com/ask-reuben/ig-167/

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines