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

Please provide better documentation #27

Open
PhilippRoessner opened this issue Apr 12, 2021 · 4 comments
Open

Please provide better documentation #27

PhilippRoessner opened this issue Apr 12, 2021 · 4 comments

Comments

@PhilippRoessner
Copy link

Hi,
Is there a chance to get better documentation? I am having trouble to get the "get" function working which I need to chain to the "skip" or "top" function. Or is there a different method to subscribe to these functions?

Thx!

@diegomvh
Copy link
Owner

diegomvh commented Apr 16, 2021

Hi @PhilippRoessner

Basically, the library works with abstractions of the odata endpoints called resources.
There are different types of resources (entity-set, entity, property, etc) and they are obtained from services.
Each resource according to its type has different ways of interacting with it using the http get post put delete methods.
For these http primitives the library only takes the data and the associated metadata and makes it available to the caller
Then with these primitives higher order functions such as fetch, fetchAll or call are built, depending on the need

Documentation is a big missing and a "skinny" part of the project.
Regarding the use, there is an example project.

https://github.com/diegomvh/AngularODataEntity/blob/1ce092b9421e0033ca761ead4efd47df3d3fc195/src/app/app.component.ts#L74

The demo does not cover all the functionality but it does cover the basics.
My intention is to continue adding and working on the features. Although eventually documenting will be necessary.

Regards

@AliAlmutawakel
Copy link

Documentation is really necessary for this library. It's great, thorough, and extremely powerful but it's too bad nobody knows how to use it. Even minimum documentation would be super helpful. Nothing fancy is necessary, just a minimal function or property /** documentation */ can go a long way to say what it does. At least then more people would use it, issues can be found, library stabilizes & matures quicker, and opens doors for people to contribute to it. I hope you would change your mind about the priority of the documentation or at least cover all the functionality in the example project.

@Coder7777
Copy link

Documentation is really necessary for this library. It's great, thorough, and extremely powerful but it's too bad nobody knows how to use it. Even minimum documentation would be super helpful. Nothing fancy is necessary, just a minimal function or property /** documentation */ can go a long way to say what it does. At least then more people would use it, issues can be found, library stabilizes & matures quicker, and opens doors for people to contribute to it. I hope you would change your mind about the priority of the documentation or at least cover all the functionality in the example project.

I can not agree with you more.

@krstev1994
Copy link

Hi Diego,
Can you provide some examples of using create, update and destroy methods?
Get and fetch options are awesome!
Tnx and BR,
Vasil.

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

No branches or pull requests

5 participants