pub fn encode_node_id(type_name: &str, uuid: &str) -> StringExpand description
Encode a global Node ID as a Relay-compatible ID.
The format is base64("TypeName:uuid"). Base64 is encoding, not
encryption — a client that decodes the ID will see the type name and UUID.
§Example
use fraiseql_core::runtime::relay::encode_node_id;
let id = encode_node_id("User", "550e8400-e29b-41d4-a716-446655440000");
// id = base64("User:550e8400-e29b-41d4-a716-446655440000")
assert!(!id.is_empty());