
How about if you get rid of the JsonProperty decorators/annotations?

no change

Oh sorry I misunderstood...I thought you wanted it lowercase.
How about if you uncomment the JSON property and put "Date" string in there instead of nameOf()

sovled it!

and the github example is far from functional

and the github example is far from functional


what do you mean?

a. the example shows only int and string and not more complicated data types like datetime.
b. there is no comment or document on what is the expected output for example my issue: this example is not showing that all keys will be lower cases unless the will serilize it like this:
var settings = new JsonSerializerSettings { ContractResolver = new DefaultContractResolver { NamingStrategy = null // Disable naming strategy } }; var jsondata = JsonConvert.SerializeObject(dataOut,settings);

cc @Aditya Oberai, @VincentGe, thoughts?

just to credit myself, to this day i used appwrite with: http(rest),Go,Python,Flutter and using it from 0.7.0 just an FYI i felt like to write 🙂

why is everything being cast to lower case?

Will have to test this out once
cc: @Jake

seems like it's something with dotnet's JSON serializer. is this type of stuff common knowledge?

im not that exprinced with C#, but looks like its default behavior

sorry...more specifically for you is whether we need to document types. i actually just submitted a PR about datetime attribute

i think you should about every DB type. for example enum, i found out its looks as a string in the code

what did you think it was going to be?

🤔 Yeah this is actually possible now so we should totally do it!

not sure, as Enum is actule code extrapulation. *maby a bad example?

Open an issue in Website

but looks like its default behavior
btw, all of this stuff is transmitted as JSON and the common casing for JSON is camel case.
Similarly, in general, strings are common for datetime types. createdAt and updatedAt are strings (in JSON)

Yes, Newtonsoft.Json, the serialisation library we're using, by default converts PascalCase to camelCase
So normally if you need to customize the json property name for in any class whose objects are you be serialised, the [JsonProperty("propertyName")]
attribute to customize the same

thanks for the clarification 🙏🏼

my examples are also using this package
Recommended threads
- dns issue with custom domain
im getting this, but i can access the appwrite through http://new.theasians.co.uk/console/ which is http but im not getting https, i deployed in vps through hos...
- Help needed on sites and funcions
I have Appwrite 1.7.4 self-hosted on a VPS. If I enable this parameter: `_APP_OPTIONS_ROUTER_FORCE_HTTPS` Functions work perfectly. If I disable it, the sites...
- updateDocument() throws "document_alread...
Hi guys, im using server sdk to update appwrite attribute value which relationship type. But facing "document_already_exists", may i know why?
