Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta data & result header #21

Merged
merged 3 commits into from
Jan 2, 2020
Merged

Conversation

harmjanr
Copy link
Contributor

@harmjanr harmjanr commented Jan 2, 2020

  • When fetching users, the wordpress backend returns the total amount of users in it's headers. This is returned in a FetchUserResult model, together with the list of users
  • Added meta data (as map<String,dynamic>) to be used in your application

@caercam
Copy link

caercam commented Jan 2, 2020

Was working on the meta part myself, good job! Do you plan on covering other meta types (ojects, Arras, integers…)?

@harmjanr
Copy link
Contributor Author

harmjanr commented Jan 2, 2020

@caercam as far as I know, this would would be able to parse multiple meta types. It's a List of String (key) and dynamic (value). I only use it for Strings myself, but other types would work as well.. Not sure about complex Objects though :)

@SachinGanesh SachinGanesh merged commit ef188be into dreamsoftin:master Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants