GhostSharp
GhostSharp copied to clipboard
Support short form of Authors and Tags?
There's a short form for tags and authors, but supporting it in C# is more complicated than in JavaScript, where the types are made up and the fields don't matter.
You can link tags and authors to any post you create in the same request body, using either short or long form to identify linked resources.
Short form uses a single string to identify a tag or author resource. Tags are identified by name and authors are identified by email address:
{ "posts": [{ "title": "My test post", "tags": ["Getting Started", "Tag Example"], "authors": ["[email protected]", "[email protected]"] }] }
I didn't implement it yet, but if there was a strong reason to, then I'd do something about it... maybe.