Coder Social home page Coder Social logo

propicsignifi / r.apex Goto Github PK

View Code? Open in Web Editor NEW
105.0 12.0 21.0 1.4 MB

Functional utility library for Apex

Home Page: https://propicsignifi.github.io/r-apex

License: MIT License

Apex 100.00%
apex functional-programming lodash ramda salesforce-developers salesforce

r.apex's Issues

R.always.apply

Simplify (Func)R.always.run(xx) to R.always.apply(xx)

API reference/docs

Project looks awesome. Any plans on generating a doc with all the methods available? Looks like there's a lot more in R.cls than listed in the README.

Question: filter null values in map, returning keys

Hi,

Been playing around with the library, but I can't seem to get my head around the following (kind of new to fp):

Map<String, String> = new Map<String, String>{
    'Name' => 'Account',
    'Description' => null,
    'Website' => null
}

Is it possible to only retrieve the keys where the value is null?

Datetime Test

Hi,

Tests fail when User have different timezone to GMT.
Log:

RTest.toTest    System.AssertException: Assertion Failed: Expected: 2017-12-31 23:00:00, Actual: 2018-01-01 00:00:00
in classes/RTest.cls:396:1

This is in my opinion false positive and Rtest.cls:393 should be:

--- Datetime mDatetime = Datetime.newInstance(2018, 1, 1);
+++ Datetime mDatetime = Datetime.newInstanceGmt(2018, 1, 1);

There should probably be method R.toDatetimeGmt(); to avoid confusion on timezone R uses internally.

What do you think?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.