Marten: Documentation Updates for v0.9

Created on 12 Apr 2016  路  13Comments  路  Source: JasperFx/marten

The pace of Marten development has been absolutely nuts over the past month and I have gotten very far behind in keeping the docs up to date. The following is a task list of the topics that need to be updated in preparation for a v0.9 release.

If you're willing to help out, please just tag a note in this issue that you're taking it. I'm figuring that we'll update the docs in its current structure, then go for the new documentation structure in a later wave of effort.

  • [ ] Foreign key relationships in Marten
  • [x] Event Store basics, append event, fetch stream, etc. This is churning pretty hard right now, so maybe wait for it
  • [x] Noop Id strategy for document types that don't have a settable Id member
  • [x] Using custom Id strategies
  • [x] Comb Guid usage
  • [x] Select() transforms
  • [x] Case insensitive searches by string - this one I'm thinking will go into ST specs embedded into the docs
  • [x] string.Equals Linq searches. See the above
  • [x] Generic enumerable searches besides Array's, just the fact that you _can_ do Contains() searches with IEnumerable<T>, IList<T>, List<T>
  • [x] min/max/avg/sum operators in the Linq support
  • [x] Request count off of IQuerySession. Part of diagnostics?
  • [x] Include()'s
  • [x] Configuring the schema name, overriding on doc by doc basis, for all, event store objects
  • [x] More on fetching and writing JSON directly? May be good enough as is
  • [x] Compiled Queries
  • [x] Improvements to mapping hierarchies of subclasses
docs

All 13 comments

Might be a good idea to share the list between a few of us. I'll have a proper look later on today to let you know what I'll be happy to take.

I've got some other stuff to write up, then I was going to announce this on the Gitter room. It's helping to have this in a task list instead of buried in my notebook;)

I'll be starting with these and see what else will I be able to take afterwards:

  • Select() transforms
  • Case insensitive searches by string - this one I'm thinking will go into ST specs embedded into the docs
  • string.Equals Linq searches. See the above
  • Generic enumerable searches besides Array's, just the fact that you can do Contains() searches with IEnumerable, IList, List
  • min/max/avg/sum operators in the Linq support

Fetching JSON & mapping hierarchies are done.

I will take foreign keys

In the past, I've relied on unit tests as much as possible for the example code. Mostly, I just hunt down the existing tests and use them OOTB. It's a lazy way to make the docs, but it's far, far better than nothing.

Plus in theory the unit testing code works :)

I'll continue with:
Include()
configuring schema name
overriding doc name (if this is what you meant)

Any proof reading would be highly appreciated.

@nieve @jamesfarrer Hey, if you don't mind, can you just go click on the checkbox's for the things that are done, or is it not letting you do that w/ permissions?

Cool, I tried before I had the permissions and it didn't work.

I added some info about document id's and added a bit to the db schema name.

I don't have the rights to check the checkboxes however. You can check:

  • Noop Id strategy for document types that don't have a settable Id member
  • Using custom Id strategies
  • Comb Guid usage ( I will update this later)

I'm gonna look into the compiled queries, unless anyone else is keen on doing it..?

@nieve Hold off just a little bit on compiled queries until I'm done w/ #280 maybe. That looks like it could be in later today or tomorrow.

I'm going to take the compiled queries now

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jeremydmiller picture jeremydmiller  路  7Comments

oskardudycz picture oskardudycz  路  4Comments

kamranayub picture kamranayub  路  7Comments

siberianguy picture siberianguy  路  7Comments

ppumkin picture ppumkin  路  4Comments